diff options
author | Arne Coucheron <arco68@gmail.com> | 2015-11-11 06:49:23 +0100 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2015-11-13 00:47:54 +0100 |
commit | a4f8cb19073cf092043fc329a9c1106ec0c9024a (patch) | |
tree | 9fbf6925d755ede9144fb0248c454dcdc9217bfa | |
parent | a0d7983ce66b84ad5d6406d351d4a8629b3bc968 (diff) | |
download | hardware_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.h | 2 |
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 |