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

Commit 918f4ad2 authored by Jakub Pawlowski's avatar Jakub Pawlowski Committed by Gerrit Code Review
Browse files

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

parents 9db33eef 419e33a2
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>