summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2014-03-07 09:31:06 -0800
committerEric Laurent <elaurent@google.com>2014-03-07 09:31:06 -0800
commit34fa769ab5835cefb9a6b842590f5f690c0a52db (patch)
treefdd1e22e53619127d9974501e0a06b4b4772aa19
parent8bba9e957f56100d4e1464d576121273ffa434eb (diff)
downloadaudio-kitkat-wear.tar.gz
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
-rw-r--r--hal/msm8974/platform.c2
1 files changed, 1 insertions, 1 deletions
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 @@ static const char * const device_table[SND_DEVICE_MAX] = {
[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",