summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-08-07 15:31:20 -0700
committerGlenn Kasten <gkasten@google.com>2012-08-27 13:44:48 -0700
commita3964ff2f34ac8a08b27e9d263ca92ad8f6f23da (patch)
treef52a674079f22172dd79ed4cf4202ee602992a3a /audio
parentf8b01af4f290922eb57470509dfb0d6837793122 (diff)
downloaddevice_samsung_tuna-a3964ff2f34ac8a08b27e9d263ca92ad8f6f23da.zip
device_samsung_tuna-a3964ff2f34ac8a08b27e9d263ca92ad8f6f23da.tar.gz
device_samsung_tuna-a3964ff2f34ac8a08b27e9d263ca92ad8f6f23da.tar.bz2
Use 3 ms buffers for low latency path
Change-Id: Icf113e2e863a79cb3d870fac5781539702cdbfa8
Diffstat (limited to 'audio')
-rw-r--r--audio/audio_hw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio_hw.c b/audio/audio_hw.c
index b841c57..f2fda76 100644
--- a/audio/audio_hw.c
+++ b/audio/audio_hw.c
@@ -127,7 +127,7 @@
/* #define to use mmap no-irq mode for playback, #undef for non-mmap irq mode */
#undef PLAYBACK_MMAP // was #define
/* short period (aka low latency) in milliseconds */
-#define SHORT_PERIOD_MS 4 // was 22
+#define SHORT_PERIOD_MS 3 // was 22
/* deep buffer short period (screen on) in milliseconds */
#define DEEP_BUFFER_SHORT_PERIOD_MS 22
/* deep buffer long period (screen off) in milliseconds */