Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 51a57475 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Automerger Merge Worker
Browse files

Merge "Update Bluetooth audio policy for BLE Headset In in v7.0" am:...

Merge "Update Bluetooth audio policy for BLE Headset In in v7.0" am: 918f4ad2 am: 53cf2647 am: 7b27068b am: 5712516c

Original change: https://android-review.googlesource.com/c/platform/frameworks/av/+/1789287

Change-Id: Ib59a97d0d7413377d242369f701cf79a3d0cd355
parents 99326ba6 5712516c
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -22,6 +22,17 @@
                     samplingRates="8000 16000 24000 32000 44100 48000"
                     channelMasks="AUDIO_CHANNEL_OUT_MONO AUDIO_CHANNEL_OUT_STEREO"/>
        </mixPort>
        <mixPort name="le audio input" role="sink">
            <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                     samplingRates="8000 16000 24000 32000 44100 48000"
                     channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
            <profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
                     samplingRates="8000 16000 24000 32000 44100 48000"
                     channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
            <profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
                     samplingRates="8000 16000 24000 32000 44100 48000"
                     channelMasks="AUDIO_CHANNEL_IN_MONO AUDIO_CHANNEL_IN_STEREO"/>
        </mixPort>
    </mixPorts>
    <devicePorts>
        <!-- A2DP Audio Ports -->
@@ -45,6 +56,7 @@
        <!-- BLE Audio Ports -->
        <devicePort tagName="BLE Headset Out" type="AUDIO_DEVICE_OUT_BLE_HEADSET" role="sink"/>
        <devicePort tagName="BLE Speaker Out" type="AUDIO_DEVICE_OUT_BLE_SPEAKER" role="sink"/>
        <devicePort tagName="BLE Headset In" type="AUDIO_DEVICE_IN_BLE_HEADSET" role="source"/>
    </devicePorts>
    <routes>
        <route type="mix" sink="BT A2DP Out"
@@ -57,6 +69,8 @@
               sources="hearing aid output"/>
        <route type="mix" sink="BLE Headset Out"
               sources="le audio output"/>
        <route type="mix" sink="le audio input"
               sources="BLE Headset In"/>
        <route type="mix" sink="BLE Speaker Out"
               sources="le audio output"/>
    </routes>