From d930c127a712af002375c99fde5624d05346f45d Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Mon, 29 Jan 2018 00:55:25 +0100 Subject: [PATCH] sm6225-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: I7d672f1ff10b984c8096c9c4ca83475e730fd16f --- ...cy_configuration_a2dp_offload_disabled.xml | 29 ++++++++----------- audio/audio_policy_configuration_vendor.xml | 29 ++++++++----------- 2 files changed, 24 insertions(+), 34 deletions(-) diff --git a/audio/audio_policy_configuration_a2dp_offload_disabled.xml b/audio/audio_policy_configuration_a2dp_offload_disabled.xml index 35b37ff..d8e6912 100644 --- a/audio/audio_policy_configuration_a2dp_offload_disabled.xml +++ b/audio/audio_policy_configuration_a2dp_offload_disabled.xml @@ -99,11 +99,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - - - + sources="primary output,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"/> + sources="primary output,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"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/> + sources="primary output,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"/> - - - + sources="primary output,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"/> + sources="primary output,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"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx,mmap_no_irq_out"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,compress_passthrough,voip_rx"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/> + sources="primary output,deep_buffer,direct_pcm,compressed_offload,voip_rx"/> + sources="primary output,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"/>