sm8250-common: audio: Disable ULL mode
* Ultra low latency playback is currently broken. Crackling audio can be well noticed while playing WhatsApp audio messages or even during some games. * This patch routes all audio that normally used audio-ull-playback paths to low-latency-playback paths instead, thus meaning we're switching from ULL to LL mode. Change-Id: I1f029d7df9a306f411598b0cffc536409cb2ae95
This commit is contained in:
parent
4fb85b40f3
commit
739dd66e05
@ -61,10 +61,6 @@
|
|||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
||||||
</mixPort>
|
</mixPort>
|
||||||
<mixPort name="raw" role="source" flags="AUDIO_OUTPUT_FLAG_RAW|AUDIO_OUTPUT_FLAG_FAST">
|
|
||||||
<profile name="" format="AUDIO_FORMAT_PCM_16_BIT"
|
|
||||||
samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/>
|
|
||||||
</mixPort>
|
|
||||||
<mixPort name="hifi_playback" role="source" />
|
<mixPort name="hifi_playback" role="source" />
|
||||||
<mixPort name="deep_buffer" role="source"
|
<mixPort name="deep_buffer" role="source"
|
||||||
flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER">
|
||||||
@ -180,27 +176,27 @@
|
|||||||
</devicePorts>
|
</devicePorts>
|
||||||
<routes>
|
<routes>
|
||||||
<route type="mix" sink="Earpiece"
|
<route type="mix" sink="Earpiece"
|
||||||
sources="primary output,raw,deep_buffer,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep_buffer,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Speaker"
|
<route type="mix" sink="Speaker"
|
||||||
sources="primary output,raw,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Speaker Safe"
|
<route type="mix" sink="Speaker Safe"
|
||||||
sources="primary output,raw,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Wired Headset"
|
<route type="mix" sink="Wired Headset"
|
||||||
sources="primary output,raw,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Wired Headphones"
|
<route type="mix" sink="Wired Headphones"
|
||||||
sources="primary output,raw,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Line Out"
|
<route type="mix" sink="Line Out"
|
||||||
sources="primary output,raw,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep_buffer,compressed_offload,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO"
|
<route type="mix" sink="BT SCO"
|
||||||
sources="primary output,raw,deep_buffer,voip_rx"/>
|
sources="primary output,deep_buffer,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Headset"
|
<route type="mix" sink="BT SCO Headset"
|
||||||
sources="primary output,raw,deep_buffer,voip_rx"/>
|
sources="primary output,deep_buffer,voip_rx"/>
|
||||||
<route type="mix" sink="BT SCO Car Kit"
|
<route type="mix" sink="BT SCO Car Kit"
|
||||||
sources="primary output,raw,deep_buffer,voip_rx"/>
|
sources="primary output,deep_buffer,voip_rx"/>
|
||||||
<route type="mix" sink="USB Device Out"
|
<route type="mix" sink="USB Device Out"
|
||||||
sources="primary output,raw,deep_buffer,compressed_offload,hifi_playback,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep_buffer,compressed_offload,hifi_playback,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="USB Headset Out"
|
<route type="mix" sink="USB Headset Out"
|
||||||
sources="primary output,raw,deep_buffer,compressed_offload,hifi_playback,mmap_no_irq_out,voip_rx"/>
|
sources="primary output,deep_buffer,compressed_offload,hifi_playback,mmap_no_irq_out,voip_rx"/>
|
||||||
<route type="mix" sink="Telephony Tx"
|
<route type="mix" sink="Telephony Tx"
|
||||||
sources="voice_tx,incall_music_uplink"/>
|
sources="voice_tx,incall_music_uplink"/>
|
||||||
<route type="mix" sink="primary input"
|
<route type="mix" sink="primary input"
|
||||||
|
Loading…
Reference in New Issue
Block a user