diff options
author | Sujin Panicker <spanic@codeaurora.org> | 2019-05-14 12:38:31 +0530 |
---|---|---|
committer | Arian <arian.kulmer@web.de> | 2020-02-07 20:09:45 +0100 |
commit | ffbb320f28c81833c97fb212ce5b4703e2b9e058 (patch) | |
tree | 1cab325de533714924f2d62a2d1c82c31d018066 /configs | |
parent | 15c0d80df6db321328d97963dcaa12f270ba6ddc (diff) |
shinano-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 'configs')
-rw-r--r-- | configs/audio/audio_policy_configuration.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/configs/audio/audio_policy_configuration.xml b/configs/audio/audio_policy_configuration.xml index a3240fa..c9fefbd 100644 --- a/configs/audio/audio_policy_configuration.xml +++ b/configs/audio/audio_policy_configuration.xml @@ -125,10 +125,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"/> @@ -188,7 +184,11 @@ sources="primary output,deep_buffer"/> <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,voip_rx"/> + <route type="mix" sink="BT SCO Headset" + sources="primary output,deep_buffer,voip_rx"/> + <route type="mix" sink="BT SCO Car Kit" sources="primary output,deep_buffer,voip_rx"/> <route type="mix" sink="Telephony Tx" sources="voice_tx"/> |