diff options
author | LuK1337 <priv.luk@gmail.com> | 2018-01-29 00:55:25 +0100 |
---|---|---|
committer | sinanmohd <pcmsinan@gmail.com> | 2023-01-05 21:27:38 +0530 |
commit | e3e85041da0723dc7b899fe992307e337d5dbf15 (patch) | |
tree | 813733eec04380100d9cc00467e5e24e4aa13304 | |
parent | f26f79cc4817a5b0eb271bf1cb23b4b7c5bb490a (diff) |
veux: 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: I8adf8a67a6151843cff5860f430d87727ad8f4c2
-rw-r--r-- | audio/audio_policy_configuration.xml | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/audio/audio_policy_configuration.xml b/audio/audio_policy_configuration.xml index fe1129b..8b4c609 100644 --- a/audio/audio_policy_configuration.xml +++ b/audio/audio_policy_configuration.xml @@ -41,11 +41,6 @@ <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> </mixPort> - <mixPort name="raw" role="source" - flags="AUDIO_OUTPUT_FLAG_FAST|AUDIO_OUTPUT_FLAG_RAW"> - <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" - samplingRates="48000" channelMasks="AUDIO_CHANNEL_OUT_STEREO"/> - </mixPort> <mixPort name="deep_buffer" role="source" flags="AUDIO_OUTPUT_FLAG_DEEP_BUFFER"> <profile name="" format="AUDIO_FORMAT_PCM_16_BIT" @@ -290,31 +285,31 @@ <!-- route declaration, i.e. list all available sources for a given sink --> <routes> <route type="mix" sink="Earpiece" - sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/> <route type="mix" sink="Speaker" - sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/> <route type="mix" sink="Wired Headset" - sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/> <route type="mix" sink="Wired Headphones" - sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/> <route type="mix" sink="Line" - sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/> <route type="mix" sink="HDMI" - sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/> <route type="mix" sink="Proxy" - sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload"/> <route type="mix" sink="FM" sources="primary output"/> <route type="mix" sink="BT SCO" - sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx"/> + sources="primary output,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"/> + sources="primary output,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"/> + sources="primary output,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"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/> <route type="mix" sink="USB Headset Out" - sources="primary output,raw,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out,hifi_playback"/> <route type="mix" sink="Telephony Tx" sources="voice_tx,incall_music_uplink"/> <route type="mix" sink="voice_rx" |