audio msm8974: new path for speaker phone with AEC
Added new path for voice/video chat mic when AEC is on
in speakerphone mode to allow different gain settings from
speakerphone in telephony.
Bug: 13279002.
Change-Id: If8f76c243f2bf8b5defae35ecf871510cc6fe41d
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index b5d568f..15f8476 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -117,7 +117,7 @@
[SND_DEVICE_IN_SPEAKER_MIC] = "speaker-mic",
[SND_DEVICE_IN_HEADSET_MIC] = "headset-mic",
[SND_DEVICE_IN_HANDSET_MIC_AEC] = "handset-mic",
- [SND_DEVICE_IN_SPEAKER_MIC_AEC] = "voice-speaker-mic",
+ [SND_DEVICE_IN_SPEAKER_MIC_AEC] = "speaker-mic-aec",
[SND_DEVICE_IN_HEADSET_MIC_AEC] = "headset-mic",
[SND_DEVICE_IN_VOICE_SPEAKER_MIC] = "voice-speaker-mic",
[SND_DEVICE_IN_VOICE_HEADSET_MIC] = "voice-headset-mic",