commit | 47623d4e60384727c03e55cf82f48aa1f13698cc | [log] [tgz] |
---|---|---|
author | Glenn Kasten <gkasten@google.com> | Tue Feb 14 13:54:03 2012 -0800 |
committer | Glenn Kasten <gkasten@google.com> | Fri Apr 27 16:01:44 2012 -0700 |
tree | dbc7bd7419fa59c685eda5c5b0815467c75982fe | |
parent | 3f762e36a638e684291a56afa7260c6dc758cb57 [diff] |
Adjust output buffer size and sample rate Use 4 buffers of 96 frames each = 4 ms at 48 kHz. Keep the 44.1 kHz -> 48 kHz up-sampler in HAL. Disable mmap mode and non-IRQ mode; this gives better variance for cycle times. Reduce number of buffers from 4 to 2, works OK in non-mmap mode but not mmap mode. Update comments based on code review. Tested with audio input. Not yet tested with echo cancellation. Change-Id: I69db00ab408cd2aad5788d602eb01fc0c7e4e78b