commit | 0e48d25606c82def035ad10a5b3923767a765cdd | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Mon Jan 26 11:43:15 2015 -0800 |
committer | Andy Hung <hunga@google.com> | Fri Feb 06 11:51:26 2015 -0800 |
tree | 2811d0042ca0c670bb6fb9cffa83b82de33f8ff8 | |
parent | c42ab4fcd42875ef74f8e9b8d8150f7bcfd0cd3b [diff] |
Change AudioTrack resampling buffers from 3 to 2 Move computation of minimum AudioTrack buffer size to server for normal streaming PCM tracks. Use server-side computation to exactly determine requirements for the resampler to avoid triple buffering. This reduces latency for normal audio tracks that require resampling, and makes things consistent with the minimum buffer size. Change-Id: I2f2ca0e599ee20e16559bc5c5dab61ed100da16c