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

Commit c5998b06 authored by yidongh's avatar yidongh
Browse files

configs: define sco sinks separately for msmsteppe

Usecase audio-playback-voip cannot be selected for device
AUDIO_DEVICE_OUT_BLUETOOTH_SCO because only combo device
AUDIO_DEVICE_OUT_ALL_SCO is defined in xml files so no
compatible direct output profile is found for device
AUDIO_DEVICE_OUT_BLUETOOTH_SCO.

Define SCO sinks separately for sources instead of combo
device.

Change-Id: I2c30735fe099b3be0fa8d25a30a9c914d30503d6
CRs-Fixed: 2290604
parent 4ed97553
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -238,10 +238,6 @@
                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                             samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
                </devicePort>
                <devicePort tagName="BT SCO All" type="AUDIO_DEVICE_OUT_ALL_SCO" role="sink">
                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                             samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO"/>
                </devicePort>
                <devicePort tagName="Telephony Tx" type="AUDIO_DEVICE_OUT_TELEPHONY_TX" role="sink">
                    <profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
                             samplingRates="8000,16000" channelMasks="AUDIO_CHANNEL_OUT_MONO,AUDIO_CHANNEL_OUT_STEREO"/>
@@ -340,7 +336,11 @@
                       sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload"/>
                <route type="mix" sink="FM"
                       sources="primary output"/>
                <route type="mix" sink="BT SCO All"
                <route type="mix" sink="BT SCO"
                       sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
                <route type="mix" sink="BT SCO Headset"
                       sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
                <route type="mix" sink="BT SCO Car Kit"
                       sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/>
                <route type="mix" sink="USB Device Out"
                       sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/>