diff options
author | Glenn Kasten <gkasten@google.com> | 2012-02-14 13:54:03 -0800 |
---|---|---|
committer | Glenn Kasten <gkasten@google.com> | 2012-04-27 16:01:44 -0700 |
commit | 47623d4e60384727c03e55cf82f48aa1f13698cc (patch) | |
tree | dbc7bd7419fa59c685eda5c5b0815467c75982fe /releasetools.py | |
parent | 3f762e36a638e684291a56afa7260c6dc758cb57 (diff) | |
download | device_samsung_tuna-47623d4e60384727c03e55cf82f48aa1f13698cc.zip device_samsung_tuna-47623d4e60384727c03e55cf82f48aa1f13698cc.tar.gz device_samsung_tuna-47623d4e60384727c03e55cf82f48aa1f13698cc.tar.bz2 |
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
Diffstat (limited to 'releasetools.py')
0 files changed, 0 insertions, 0 deletions