summaryrefslogtreecommitdiffstats
path: root/camera
diff options
context:
space:
mode:
authorAndy Hung <hunga@google.com>2015-01-26 11:43:15 -0800
committerAndy Hung <hunga@google.com>2015-02-06 11:51:26 -0800
commit0e48d25606c82def035ad10a5b3923767a765cdd (patch)
tree2811d0042ca0c670bb6fb9cffa83b82de33f8ff8 /camera
parentc42ab4fcd42875ef74f8e9b8d8150f7bcfd0cd3b (diff)
downloadframeworks_av-0e48d25606c82def035ad10a5b3923767a765cdd.zip
frameworks_av-0e48d25606c82def035ad10a5b3923767a765cdd.tar.gz
frameworks_av-0e48d25606c82def035ad10a5b3923767a765cdd.tar.bz2
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
Diffstat (limited to 'camera')
0 files changed, 0 insertions, 0 deletions