mirror of
https://github.com/team-infusion-developers/android_device_samsung_gts210velte.git
synced 2024-11-07 06:19:15 +00:00
gts210velte: configs: Add BT SCO to routes list
- Issue with returning a valid device descriptor since BT SCO is not defined in IOProfile. - With Android-Q changes, first attempt to retrieve device descriptor from the avaiable HwModule may fail due to address and encoded format conditions. - Further device descriptor query is based on IOProfile with devices defined in audio_policy_configuration. - This change adds BT SCO to IOProfile.
This commit is contained in:
parent
2baa4f2766
commit
2fb553766c
1 changed files with 0 additions and 6 deletions
|
@ -187,10 +187,6 @@
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
||||||
</devicePort>
|
</devicePort>
|
||||||
<devicePort tagName="BT SCO All" type="AUDIO_DEVICE_OUT_ALL_SCO" role="sink">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
|
|
||||||
</devicePort>
|
|
||||||
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
<devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
|
@ -255,8 +251,6 @@
|
||||||
sources="primary output,deep_buffer,multichannel,direct_pcm,compressed_offload"/>
|
sources="primary output,deep_buffer,multichannel,direct_pcm,compressed_offload"/>
|
||||||
<route type="mix" sink="FM"
|
<route type="mix" sink="FM"
|
||||||
sources="primary output"/>
|
sources="primary output"/>
|
||||||
<route type="mix" sink="BT SCO All"
|
|
||||||
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
|
|
||||||
<route type="mix" sink="Telephony Tx"
|
<route type="mix" sink="Telephony Tx"
|
||||||
sources="voice_tx"/>
|
sources="voice_tx"/>
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
|
|
Loading…
Reference in a new issue