kunlun2: configs: Add voip_tx profile to policy conf
Skype+camcorder concurrency usecase makes Skype to mute since both uses same record_24 profle, due to which second audio record request de-prioritizes first setting isTopOrLatestActive(=true) Add voip_tx profile making skype to use fasttrack rather than using record_24 profile Change-Id: I4a6cee00787f8f587b088d4586e8d13d824144c3
This commit is contained in:
parent
241e67c81c
commit
55797d3525
1 changed files with 9 additions and 3 deletions
|
@ -163,7 +163,11 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
|
<mixPort name="voip_tx" role="sink"
|
||||||
|
flags="AUDIO_INPUT_FLAG_VOIP_TX">
|
||||||
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
samplingRates="8000,16000,32000,48000" channelMasks="AUDIO_CHANNEL_IN_MONO"/>
|
||||||
|
</mixPort>
|
||||||
<mixPort name="primary input" role="sink">
|
<mixPort name="primary input" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
|
@ -173,7 +177,7 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
samplingRates="8000,11025,12000,16000,22050,24000,32000,44100,48000"
|
||||||
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="voip_tx" role="sink"
|
<mixPort name="voip_tx" role="sink"
|
||||||
flags="AUDIO_INPUT_FLAG_VOIP_TX">
|
flags="AUDIO_INPUT_FLAG_VOIP_TX">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
|
@ -336,10 +340,12 @@
|
||||||
sources="voice_tx"/>
|
sources="voice_tx"/>
|
||||||
<route type="mix" sink="voice_rx"
|
<route type="mix" sink="voice_rx"
|
||||||
sources="Telephony Rx"/>
|
sources="Telephony Rx"/>
|
||||||
|
<route type="mix" sink="voip_tx"
|
||||||
|
sources="Built-In Mic,Built-In Back Mic,BT SCO Headset Mic"/>
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Wired Headset Mic,BT SCO Headset Mic,FM Tuner,USB Device In,USB Headset In,Telephony Rx"/>
|
sources="Wired Headset Mic,BT SCO Headset Mic,FM Tuner,USB Device In,USB Headset In,Telephony Rx"/>
|
||||||
<route type="mix" sink="hotword input"
|
<route type="mix" sink="hotword input"
|
||||||
sources="Wired Headset Mic,BT SCO Headset Mic,FM Tuner,USB Device In,USB Headset In,Telephony Rx"/>
|
sources="Wired Headset Mic,BT SCO Headset Mic,FM Tuner,USB Device In,USB Headset In,Telephony Rx"/>
|
||||||
<route type="mix" sink="voip_tx"
|
<route type="mix" sink="voip_tx"
|
||||||
sources="Built-In Mic,Built-In Back Mic,BT SCO Headset Mic"/>
|
sources="Built-In Mic,Built-In Back Mic,BT SCO Headset Mic"/>
|
||||||
<route type="mix" sink="surround_sound"
|
<route type="mix" sink="surround_sound"
|
||||||
|
|
Loading…
Reference in a new issue