summaryrefslogtreecommitdiffstats
path: root/libsensors
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-02-14 13:54:03 -0800
committerGlenn Kasten <gkasten@google.com>2012-04-27 16:01:44 -0700
commit4f1b21a8e4234651af3c2596d4be1f049a2901f9 (patch)
tree46f1018c8ee36c7c71495750266bde6a6305f2cb /libsensors
parente1021ba213319c88c47bcc97ab6b35c4193620e0 (diff)
downloaddevice_samsung_tuna-4f1b21a8e4234651af3c2596d4be1f049a2901f9.zip
device_samsung_tuna-4f1b21a8e4234651af3c2596d4be1f049a2901f9.tar.gz
device_samsung_tuna-4f1b21a8e4234651af3c2596d4be1f049a2901f9.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 'libsensors')
0 files changed, 0 insertions, 0 deletions