diff options
author | Sujin Panicker <spanic@codeaurora.org> | 2019-05-14 12:38:31 +0530 |
---|---|---|
committer | Davide Garberi <dade.garberi@gmail.com> | 2019-11-05 21:38:39 +0100 |
commit | 0f1b1922a3bfabc6e7db086f327251b71ad70879 (patch) | |
tree | 422dc1f5de8f41effb39a7b28901587184db61fb | |
parent | 5d7d9626817b028ec48224d699f3fac1666de525 (diff) |
msm8996-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
Signed-off-by: Davide Garberi <dade.garberi@gmail.com>
-rw-r--r-- | audio/audio_policy_configuration.xml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml index 460386c..4233390 100644 --- a/audio/audio_policy_configuration.xml +++ b/audio/audio_policy_configuration.xml @@ -193,10 +193,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"/> @@ -261,7 +257,11 @@ sources="primary output,raw,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,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/> + <route type="mix" sink="BT SCO Headset" + sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/> + <route type="mix" sink="BT SCO Car Kit" sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/> <route type="mix" sink="Telephony Tx" sources="voice_tx"/> |