• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="UTF-8"?>
2<!-- Bluetooth Input Audio HAL Audio Policy Configuration file -->
3<module name="a2dp" halVersion="2.0">
4    <mixPorts>
5        <mixPort name="a2dp input" role="sink">
6            <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
7                     samplingRates="44100,48000"
8                     channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
9        </mixPort>
10    </mixPorts>
11    <devicePorts>
12        <devicePort tagName="BT A2DP In" type="AUDIO_DEVICE_IN_BLUETOOTH_A2DP" role="source">
13            <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
14                     samplingRates="44100,48000"
15                     channelMasks="AUDIO_CHANNEL_IN_MONO,AUDIO_CHANNEL_IN_STEREO"/>
16        </devicePort>
17    </devicePorts>
18    <routes>
19        <route type="mix" sink="a2dp input"
20               sources="BT A2DP In"/>
21    </routes>
22</module>
23