diff options
author | Jean-Michel Trivi <jmtrivi@google.com> | 2015-05-26 15:59:42 -0700 |
---|---|---|
committer | Jean-Michel Trivi <jmtrivi@google.com> | 2015-05-27 09:40:56 -0700 |
commit | bbb3e77ab0ca247c646d4a0f9d815bd6754d8eba (patch) | |
tree | 02595008070f5c46c2dc4d3fe6d8663e92de43b1 /modules | |
parent | c32baff996726ba75c16f5bd4b49e9fd1e428548 (diff) | |
download | hardware_libhardware-bbb3e77ab0ca247c646d4a0f9d815bd6754d8eba.zip hardware_libhardware-bbb3e77ab0ca247c646d4a0f9d815bd6754d8eba.tar.gz hardware_libhardware-bbb3e77ab0ca247c646d4a0f9d815bd6754d8eba.tar.bz2 |
Reduce pipe length
Bug 21198864
Change-Id: I5bb7ba20c4e2d294363a3a4487f4e3ae634ada46
Diffstat (limited to 'modules')
-rw-r--r-- | modules/audio_remote_submix/audio_hw.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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. |