From e9c7854606c7b731eae7748c15db180ff7e4a368 Mon Sep 17 00:00:00 2001 From: SathishKumar Mani Date: Mon, 17 Sep 2012 16:45:31 -0700 Subject: [PATCH] alsa_sound: Decrease the lowlatency playback buffersize to 1024 bytes - Decrease the lowlatency playback buffersize to 1024 bytes and latency to 11ms. Change-Id: I39e0580846fcf53cb4d2a708b53c39abc6e62469 --- alsa_sound/AudioHardwareALSA.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alsa_sound/AudioHardwareALSA.h b/alsa_sound/AudioHardwareALSA.h index 049a300c..0a0b06e9 100644 --- a/alsa_sound/AudioHardwareALSA.h +++ b/alsa_sound/AudioHardwareALSA.h @@ -64,8 +64,8 @@ class AudioHardwareALSA; #define VOICE_LATENCY 85333 #define DEFAULT_BUFFER_SIZE 4096 #define DEFAULT_VOICE_BUFFER_SIZE 2048 -#define PLAYBACK_LOW_LATENCY_BUFFER_SIZE 2048 -#define PLAYBACK_LOW_LATENCY 21500 +#define PLAYBACK_LOW_LATENCY_BUFFER_SIZE 1024 +#define PLAYBACK_LOW_LATENCY 11000 #define DEFAULT_IN_BUFFER_SIZE 320 #define FM_BUFFER_SIZE 1024