summaryrefslogtreecommitdiffstats
path: root/include/media/AudioResamplerPublic.h
Commit message (Collapse)AuthorAgeFilesLines
* Change AudioTrack resampling buffers from 3 to 2Andy Hung2015-02-061-0/+13
| | | | | | | | | | | | | 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
* Extend downsampling ratios greater than 2:1Andy Hung2014-08-111-0/+29
Also improve robustness to choice of sampling rate or buffer size such that increasing either by 10x does not cause overflow. Bug: 12979141 Bug: 15933066 Change-Id: If7989bd745d1bee3bdf811b8b7c978543ccafb65