summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorSujin Panicker <spanic@codeaurora.org>2019-05-14 12:38:31 +0530
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:53 +0300
commit769f042776000748b6c7fb0008abf781a23cb820 (patch)
treebbf7caba476374dc180414ae22fba8fa79858315 /audio
parent8243540a7b171e38add491d1d1dd0419ee6f6118 (diff)
sdm660-common: 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. Change-Id: I52225070e97dd702f965ca5dbb5db9d128df1faf
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_policy_configuration.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml
index 6a1c28c..7add38a 100644
--- a/audio/audio_policy_configuration.xml
+++ b/audio/audio_policy_configuration.xml
@@ -212,10 +212,6 @@
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
</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">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
@@ -302,7 +298,11 @@
sources="primary output,deep_buffer,direct_pcm,compressed_offload"/>
<route type="mix" sink="FM"
sources="primary output"/>
- <route type="mix" sink="BT SCO All"
+ <route type="mix" sink="BT SCO"
+ sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
+ <route type="mix" sink="BT SCO Headset"
+ sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
+ <route type="mix" sink="BT SCO Car Kit"
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
<route type="mix" sink="USB Device Out"
sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,hifi_playback"/>