hal: Fix no audio during voice call with concurrent combo use case
-Music playback and voice use case uses snd device "voice-headphopne"
as Rx device during active voice call, any new combo use case
(camera shutter sound)gets routed to snd device "speaker" and 'headphone"
during this state.
When camera click sound is completed, it will end up disabling headphone
device result in no audio on headphone for voice call.
-add new combo device for voice use case and use it for use case with combo device
during active voice call to avoid snd device mismatch.
CRs-Fixed: 2008883
Change-Id: If9e25693e44589a0a2f6d15f8b352801afcfbb37
diff --git a/hal/msm8916/platform.h b/hal/msm8916/platform.h
index 5fc124d..76f9d78 100644
--- a/hal/msm8916/platform.h
+++ b/hal/msm8916/platform.h
@@ -139,6 +139,8 @@
SND_DEVICE_OUT_VOIP_SPEAKER,
SND_DEVICE_OUT_VOIP_HEADPHONES,
#endif
+ SND_DEVICE_OUT_VOICE_SPEAKER_AND_VOICE_HEADPHONES,
+ SND_DEVICE_OUT_VOICE_SPEAKER_AND_VOICE_ANC_HEADSET,
SND_DEVICE_OUT_END,
/*