aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCheckYourScreen <nimitmehta95@gmail.com>2017-03-22 19:54:35 +0100
committerSubhrajyoti Sen <subhrajyoti12@gmail.com>2017-11-07 15:31:07 +0000
commited97f799b877fa4163a4b95c21cc57bd395d9857 (patch)
treed6da3eb77b3681be4fe21b7f2294768496d10a87
parent208ef5dda48861779c2def3b8da5b18b4c605512 (diff)
onyx: audio: update backends
* default backends of IN_HDMI_MIC and IN_HANDSET_MIC by qualcomm are defined for single mic devices which breaks secondary mic for noise cancellation on dual mic devices like onyx while recording audio on apps like whatsapp, telegram etc. * sync backends with what oneplus is trying to use in their audio hal, they are using custom device names with dual mic config backends for recording purpose so switch backends to support their dual mic functionality * fixes mic issues. BUGBASH-731 Change-Id: I365dacf2ab9060a0e87b8fbd6af379f4cf82fb6a Signed-off-by: CheckYourScreen <nimitmehta95@gmail.com>
-rw-r--r--audio/audio_platform_info.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/audio_platform_info.xml b/audio/audio_platform_info.xml
index 1c7a469..eeea6ad 100644
--- a/audio/audio_platform_info.xml
+++ b/audio/audio_platform_info.xml
@@ -49,9 +49,10 @@
<pcm_ids>
<!-- empty -->
- </pcm_ids>
+ </pcm_ids>
<device_names>
- <!-- empty -->
+ <device name="SND_DEVICE_IN_HDMI_MIC" alias="hdmi-tx" />
+ <device name="SND_DEVICE_IN_HANDSET_MIC" alias="voice-dmic-ef" />
</device_names>
</audio_platform_info>