mirror of
https://github.com/team-infusion-developers/android_device_samsung_gts28vewifi.git
synced 2024-11-07 03:25:49 +00:00
gts28vewifi: 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
ceb45bf441
commit
d66a942499
1 changed files with 0 additions and 6 deletions
|
@ -179,10 +179,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="HDMI" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
<devicePort tagName="HDMI" type="AUDIO_DEVICE_OUT_AUX_DIGITAL" role="sink">
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/>
|
samplingRates="8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,128000,176400,192000" channelMasks="dynamic"/>
|
||||||
|
@ -231,8 +227,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="primary input"
|
<route type="mix" sink="primary input"
|
||||||
sources="Wired Headset Mic,BT SCO Headset Mic,FM Tuner"/>
|
sources="Wired Headset Mic,BT SCO Headset Mic,FM Tuner"/>
|
||||||
<route type="mix" sink="surround_sound"
|
<route type="mix" sink="surround_sound"
|
||||||
|
|
Loading…
Reference in a new issue