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

Commit dd8ac23e authored by Jakub Pawlowski's avatar Jakub Pawlowski
Browse files

Bluetooth le_audio_output: use dynamic format

The format for output is negotiated, no need to specify it in xml config file.

Bug: 230578655
Test: Play music using LE Audio device
Change-Id: Id1bb41dbc02fb97ab1354a20fe8d21f169b17808
parent 1b80a837
Loading
Loading
Loading
Loading
+1 −11
Original line number Diff line number Diff line
@@ -11,17 +11,7 @@
                     channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
        </mixPort>
        <!-- Le Audio Audio Ports -->
        <mixPort name="le audio output" role="source">
            <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                     samplingRates="8000,16000,24000,32000,44100,48000"
                     channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
            <profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
                     samplingRates="8000,16000,24000,32000,44100,48000"
                     channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
            <profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
                     samplingRates="8000,16000,24000,32000,44100,48000"
                     channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
        </mixPort>
        <mixPort name="le audio output" role="source"/>
        <mixPort name="le audio input" role="sink">
            <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                     samplingRates="8000,16000,24000,32000,44100,48000"
+1 −11
Original line number Diff line number Diff line
@@ -11,17 +11,7 @@
                     channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
        </mixPort>
        <!-- Le Audio Audio Ports -->
        <mixPort name="le audio output" role="source">
            <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                     samplingRates="8000 16000 24000 32000 44100 48000"
                     channelMasks="AUDIO_CHANNEL_OUT_MONO AUDIO_CHANNEL_OUT_STEREO"/>
            <profile name="" format="AUDIO_FORMAT_PCM_24_BIT_PACKED"
                     samplingRates="8000 16000 24000 32000 44100 48000"
                     channelMasks="AUDIO_CHANNEL_OUT_MONO AUDIO_CHANNEL_OUT_STEREO"/>
            <profile name="" format="AUDIO_FORMAT_PCM_32_BIT"
                     samplingRates="8000 16000 24000 32000 44100 48000"
                     channelMasks="AUDIO_CHANNEL_OUT_MONO AUDIO_CHANNEL_OUT_STEREO"/>
        </mixPort>
        <mixPort name="le audio output" role="source" />
        <mixPort name="le audio input" role="sink">
            <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                     samplingRates="8000 16000 24000 32000 44100 48000"