summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcarter_hsu <carter_hsu@htc.com>2017-08-07 11:38:38 +0800
committerDavid Lin <dtwlin@google.com>2017-08-07 16:07:30 -0700
commit2f18c79d913c310c77857da553e6503bba5d3e98 (patch)
treea6d5d5d0a1c3f62bdaead80e5f025efb5b58aa74
parent53a7b6e1f5d7e28ca10c2d3429fd6c06ec82134b (diff)
audio: Fix lost path for voice-call
Duplicated device path such as speaker and bt-sco was missing which causes path switch to fail for voice call. Bug: 64421942 Test: manual audio test for voice call Change-Id: Idb25ed19fd9f88a82878423342de3413fb3c4644
-rw-r--r--mixer_paths_tavil.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/mixer_paths_tavil.xml b/mixer_paths_tavil.xml
index 794de6b..f509fe2 100644
--- a/mixer_paths_tavil.xml
+++ b/mixer_paths_tavil.xml
@@ -1127,11 +1127,19 @@
<ctl name="VoiceMMode1_Tx Mixer SLIM_7_TX_MMode1" value="1" />
</path>
+ <path name="voicemmode1-call speaker-and-bt-sco">
+ <path name="voicemmode1-call bt-sco" />
+ </path>
+
<path name="voicemmode1-call bt-sco-wb">
<ctl name="BT SampleRate" value="KHZ_16" />
<path name="voicemmode1-call bt-sco" />
</path>
+ <path name="voicemmode1-call speaker-and-bt-sco-wb">
+ <path name="voicemmode1-call bt-sco-wb" />
+ </path>
+
<path name="voicemmode1-call afe-proxy">
<ctl name="AFE_PCM_RX_Voice Mixer VoiceMMode1" value="1" />
<ctl name="VoiceMMode1_Tx Mixer AFE_PCM_TX_MMode1" value="1" />
@@ -1147,6 +1155,10 @@
<ctl name="VoiceMMode1_Tx Mixer USB_AUDIO_TX_MMode1" value="1" />
</path>
+ <path name="voicemmode1-call speaker-and-usb-headphones">
+ <path name="voicemmode1-call usb-headphones" />
+ </path>
+
<path name="voicemmode1-call voice-tty-hco-handset">
<ctl name="QUAT_MI2S_RX_Voice Mixer VoiceMMode1" value="1" />
<ctl name="VoiceMMode1_Tx Mixer USB_AUDIO_TX_MMode1" value="1" />