summaryrefslogtreecommitdiff
authorxiaoliang.wang <xiaoliang.wang@amlogic.com>2019-07-29 13:09:06 (GMT)
committer Dan Zhang <danielzhang@google.com>2019-08-21 18:29:03 (GMT)
commit091e1694aeb6d344910a13249facd63886080ba3 (patch)
tree23fd8eb24d0635ebf169c1cc8612129a8860efe6
parent928982e5ea45d22ae915616b2f3517ee819d1a03 (diff)
downloadcommon-091e1694aeb6d344910a13249facd63886080ba3.zip
common-091e1694aeb6d344910a13249facd63886080ba3.tar.gz
common-091e1694aeb6d344910a13249facd63886080ba3.tar.bz2
audio : enable bt tunnel mode and move policy to device [4/4]
PD#SWPL-10503 BUG=138440580 Problem: AUDIO-024-TC12 The device need pair the Bluetooth audio Solution: manually apply patch from provided by FAE Verify: localbuild note: internal commit id 6286 Change-Id: I7970215e1a183cd2a23408fe0e0e298ebcd75f70 Signed-off-by: xiaoliang.wang <xiaoliang.wang@amlogic.com>
Diffstat
-rwxr-xr-x[-rw-r--r--]audio/a2dp_audio_policy_configuration.xml22
1 files changed, 0 insertions, 22 deletions
diff --git a/audio/a2dp_audio_policy_configuration.xml b/audio/a2dp_audio_policy_configuration.xml
index 7bcab5c..910426d 100644..100755
--- a/audio/a2dp_audio_policy_configuration.xml
+++ b/audio/a2dp_audio_policy_configuration.xml
@@ -2,7 +2,6 @@
<!-- A2dp Audio HAL Audio Policy Configuration file -->
<module name="a2dp" halVersion="2.0">
<mixPorts>
- <mixPort name="a2dp output" role="source"/>
<mixPort name="a2dp input" role="sink">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100,48000"
@@ -10,21 +9,6 @@
</mixPort>
</mixPorts>
<devicePorts>
- <devicePort tagName="BT A2DP Out" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP" role="sink">
- <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
- samplingRates="44100"
- channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
- </devicePort>
- <devicePort tagName="BT A2DP Headphones" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_HEADPHONES" role="sink">
- <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
- samplingRates="44100"
- channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
- </devicePort>
- <devicePort tagName="BT A2DP Speaker" type="AUDIO_DEVICE_OUT_BLUETOOTH_A2DP_SPEAKER" role="sink">
- <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
- samplingRates="44100"
- channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
- </devicePort>
<devicePort tagName="BT A2DP In" type="AUDIO_DEVICE_IN_BLUETOOTH_A2DP" role="source">
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
samplingRates="44100,48000"
@@ -32,12 +16,6 @@
</devicePort>
</devicePorts>
<routes>
- <route type="mix" sink="BT A2DP Out"
- sources="a2dp output"/>
- <route type="mix" sink="BT A2DP Headphones"
- sources="a2dp output"/>
- <route type="mix" sink="BT A2DP Speaker"
- sources="a2dp output"/>
<route type="mix" sink="a2dp input"
sources="BT A2DP In"/>
</routes>