From bbb3e77ab0ca247c646d4a0f9d815bd6754d8eba Mon Sep 17 00:00:00 2001 From: Jean-Michel Trivi Date: Tue, 26 May 2015 15:59:42 -0700 Subject: Reduce pipe length Bug 21198864 Change-Id: I5bb7ba20c4e2d294363a3a4487f4e3ae634ada46 --- modules/audio_remote_submix/audio_hw.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/audio_remote_submix/audio_hw.cpp b/modules/audio_remote_submix/audio_hw.cpp index b9dcf7a..a13a7c3 100644 --- a/modules/audio_remote_submix/audio_hw.cpp +++ b/modules/audio_remote_submix/audio_hw.cpp @@ -62,7 +62,7 @@ namespace android { #endif // SUBMIX_VERBOSE_LOGGING // NOTE: This value will be rounded up to the nearest power of 2 by MonoPipe(). -#define DEFAULT_PIPE_SIZE_IN_FRAMES (1024*8) +#define DEFAULT_PIPE_SIZE_IN_FRAMES (1024*4) // Value used to divide the MonoPipe() buffer into segments that are written to the source and // read from the sink. The maximum latency of the device is the size of the MonoPipe's buffer // the minimum latency is the MonoPipe buffer size divided by this value. -- cgit v1.1