Merge "configs: msm8937: add VoIP over audio path for wearable"
This commit is contained in:
commit
7dbb3213d3
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!-- Copyright (c) 2015 - 2016, 2018, 2020, The Linux Foundation. All rights reserved. -->
|
||||
<!-- Copyright (c) 2015 - 2016, 2018, 2020-2021, The Linux Foundation. All rights reserved. -->
|
||||
<!-- -->
|
||||
<!-- Redistribution and use in source and binary forms, with or without -->
|
||||
<!-- modification, are permitted provided that the following conditions are -->
|
||||
|
@ -49,6 +49,8 @@
|
|||
<usecase name="USECASE_VOICEMMODE2_CALL" type="out" id="35"/>
|
||||
<usecase name="USECASE_AUDIO_HFP_SCO" type="out" id="25" />
|
||||
<usecase name="USECASE_AUDIO_HFP_SCO_WB" type="out" id="25" />
|
||||
<usecase name="USECASE_AUDIO_PLAYBACK_VOIP" type="out" id="27" />
|
||||
<usecase name="USECASE_AUDIO_RECORD_VOIP" type="in" id="27" />
|
||||
</pcm_ids>
|
||||
<config_params>
|
||||
<param key="spkr_1_tz_name" value="wsa881x.0f"/>
|
||||
|
|
|
@ -51,6 +51,8 @@
|
|||
<usecase name="USECASE_AUDIO_HFP_SCO_WB" type="in" id="56" />
|
||||
<usecase name="USECASE_AUDIO_HFP_SCO" type="out" id="25" />
|
||||
<usecase name="USECASE_AUDIO_HFP_SCO_WB" type="out" id="25" />
|
||||
<usecase name="USECASE_AUDIO_PLAYBACK_VOIP" type="out" id="27" />
|
||||
<usecase name="USECASE_AUDIO_RECORD_VOIP" type="in" id="27" />
|
||||
</pcm_ids>
|
||||
<config_params>
|
||||
<param key="spkr_1_tz_name" value="wsa881x.0f"/>
|
||||
|
|
|
@ -199,6 +199,15 @@
|
|||
<ctl name="Voip_Tx Mixer INTERNAL_BT_SCO_TX_Voip" value="0" />
|
||||
<!-- Voip end -->
|
||||
|
||||
<!-- VoIP over audio -->
|
||||
<ctl name="MultiMedia10 Mixer TERT_MI2S_TX" value="0" />
|
||||
<ctl name="MultiMedia10 Mixer INTERNAL_BT_SCO_TX" value="0" />
|
||||
<ctl name="MultiMedia10 Mixer AFE_PCM_TX" value="0" />
|
||||
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia10" value="0" />
|
||||
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia10" value="0" />
|
||||
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia10" value="0" />
|
||||
<!-- VoIP over audio -->
|
||||
|
||||
<!-- fm -->
|
||||
<ctl name="Internal FM RX Volume" value="0" />
|
||||
<ctl name="PRI_MI2S_RX Port Mixer INTERNAL_FM_TX" value="0" />
|
||||
|
@ -1588,4 +1597,51 @@
|
|||
<path name="speaker" />
|
||||
</path>
|
||||
|
||||
<!-- VoIP Rx settings -->
|
||||
<path name="audio-playback-voip">
|
||||
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia10" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip headphones">
|
||||
<path name="audio-playback-voip" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip bt-sco">
|
||||
<ctl name="INTERNAL_BT_SCO_RX Audio Mixer MultiMedia10" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip bt-sco-wb">
|
||||
<path name="audio-playback-voip bt-sco" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip afe-proxy">
|
||||
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia10" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip usb-headphones">
|
||||
<path name="audio-playback-voip afe-proxy" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip speaker-and-usb-headphones">
|
||||
<path name="audio-playback-voip usb-headphones" />
|
||||
<path name="audio-playback-voip" />
|
||||
</path>
|
||||
|
||||
<!-- VoIP Tx settings -->
|
||||
<path name="audio-record-voip">
|
||||
<ctl name="MultiMedia10 Mixer TERT_MI2S_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-record-voip bt-sco">
|
||||
<ctl name="MultiMedia10 Mixer INTERNAL_BT_SCO_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-record-voip bt-sco-wb">
|
||||
<path name="audio-record-voip bt-sco" />
|
||||
</path>
|
||||
|
||||
<path name="audio-record-voip usb-headset-mic">
|
||||
<ctl name="MultiMedia10 Mixer AFE_PCM_TX" value="1" />
|
||||
</path>
|
||||
|
||||
</mixer>
|
||||
|
|
|
@ -191,6 +191,15 @@
|
|||
<ctl name="Voip_Tx Mixer SLIM_7_TX_Voip" value="0" />
|
||||
<!-- Voip end -->
|
||||
|
||||
<!-- VoIP over audio -->
|
||||
<ctl name="MultiMedia10 Mixer TERT_MI2S_TX" value="0" />
|
||||
<ctl name="MultiMedia10 Mixer SLIM_7_TX" value="0" />
|
||||
<ctl name="MultiMedia10 Mixer AFE_PCM_TX" value="0" />
|
||||
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia10" value="0" />
|
||||
<ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia10" value="0" />
|
||||
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia10" value="0" />
|
||||
<!-- VoIP over audio -->
|
||||
|
||||
<!-- RT Proxy Cal -->
|
||||
<ctl name="RT_PROXY_1_RX SetCalMode" value="CAL_MODE_NONE" />
|
||||
<ctl name="RT_PROXY_1_TX SetCalMode" value="CAL_MODE_NONE" />
|
||||
|
@ -1051,4 +1060,51 @@
|
|||
<path name="speaker" />
|
||||
</path>
|
||||
|
||||
<!-- VoIP Rx settings -->
|
||||
<path name="audio-playback-voip">
|
||||
<ctl name="QUAT_MI2S_RX Audio Mixer MultiMedia10" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip headphones">
|
||||
<path name="audio-playback-voip" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip bt-sco">
|
||||
<ctl name="SLIMBUS_7_RX Audio Mixer MultiMedia10" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip bt-sco-wb">
|
||||
<path name="audio-playback-voip bt-sco" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip afe-proxy">
|
||||
<ctl name="AFE_PCM_RX Audio Mixer MultiMedia10" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip usb-headphones">
|
||||
<path name="audio-playback-voip afe-proxy" />
|
||||
</path>
|
||||
|
||||
<path name="audio-playback-voip speaker-and-usb-headphones">
|
||||
<path name="audio-playback-voip usb-headphones" />
|
||||
<path name="audio-playback-voip" />
|
||||
</path>
|
||||
|
||||
<!-- VoIP Tx settings -->
|
||||
<path name="audio-record-voip">
|
||||
<ctl name="MultiMedia10 Mixer TERT_MI2S_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-record-voip bt-sco">
|
||||
<ctl name="MultiMedia10 Mixer SLIM_7_TX" value="1" />
|
||||
</path>
|
||||
|
||||
<path name="audio-record-voip bt-sco-wb">
|
||||
<path name="audio-record-voip bt-sco" />
|
||||
</path>
|
||||
|
||||
<path name="audio-record-voip usb-headset-mic">
|
||||
<ctl name="MultiMedia10 Mixer AFE_PCM_TX" value="1" />
|
||||
</path>
|
||||
|
||||
</mixer>
|
||||
|
|
Loading…
Reference in New Issue