diff options
author | Eric Laurent <elaurent@google.com> | 2012-06-12 17:09:30 -0700 |
---|---|---|
committer | Eric Laurent <elaurent@google.com> | 2012-06-12 17:09:30 -0700 |
commit | e49f2b424318aa8e830e7a1338e5e32ab82992f9 (patch) | |
tree | 7c524902e7e604941ffdb902d212b143c978cef2 /media/common_time | |
parent | 10cf121f7285e23c37264dab3bad7cffefd754b1 (diff) | |
download | frameworks_av-e49f2b424318aa8e830e7a1338e5e32ab82992f9.zip frameworks_av-e49f2b424318aa8e830e7a1338e5e32ab82992f9.tar.gz frameworks_av-e49f2b424318aa8e830e7a1338e5e32ab82992f9.tar.bz2 |
stagefright: fix AudioRecord callback buffer size
Make sure that the maximum number of frames passed to
AudioSource by the AudioRecord callback always fits within
the maximum buffer size defined by kMaxBufferSize.
Also make sure that the total AudioRecord buffer size is more
than the minimum required.
Change-Id: I26a1f998e0cf75ac88b02e67ec9d8db3c0cca193
Diffstat (limited to 'media/common_time')
0 files changed, 0 insertions, 0 deletions