summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArne Coucheron <arco68@gmail.com>2015-11-11 06:49:23 +0100
committerArne Coucheron <arco68@gmail.com>2015-11-13 00:47:54 +0100
commita4f8cb19073cf092043fc329a9c1106ec0c9024a (patch)
tree9fbf6925d755ede9144fb0248c454dcdc9217bfa
parenta0d7983ce66b84ad5d6406d351d4a8629b3bc968 (diff)
downloadhardware_qcom_audio-a4f8cb19073cf092043fc329a9c1106ec0c9024a.tar.gz
hardware_qcom_audio-a4f8cb19073cf092043fc329a9c1106ec0c9024a.tar.bz2
hardware_qcom_audio-a4f8cb19073cf092043fc329a9c1106ec0c9024a.zip
audio: Reduce low latency buffer size
* Reduce buffer size to 256, to avoid audio glitch in low latency path on A family, introduced after frameworks/av upstream change a2ab4505c807f42afe34809409c4e85d91618a8c Change-Id: I44075bf5740f8df8bc22d08a13396fdadad62a9c
-rw-r--r--legacy/alsa_sound/AudioHardwareALSA.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/alsa_sound/AudioHardwareALSA.h b/legacy/alsa_sound/AudioHardwareALSA.h
index bfe2e704..4e3fd181 100644
--- a/legacy/alsa_sound/AudioHardwareALSA.h
+++ b/legacy/alsa_sound/AudioHardwareALSA.h
@@ -75,7 +75,7 @@ class AudioHardwareALSA;
#endif
#define DEFAULT_VOICE_BUFFER_SIZE 2048
-#define PLAYBACK_LOW_LATENCY_BUFFER_SIZE 1024
+#define PLAYBACK_LOW_LATENCY_BUFFER_SIZE 256
#define PLAYBACK_LOW_LATENCY 22000
#define PLAYBACK_LOW_LATENCY_MEASURED 42000
#ifdef TARGET_8974