commit | 08fb1743f80437c38b4094070d851ea7f6d485e5 | [log] [tgz] |
---|---|---|
author | Andy Hung <hunga@google.com> | Sun May 31 23:22:10 2015 -0700 |
committer | Andy Hung <hunga@google.com> | Wed Jun 03 13:28:27 2015 -0700 |
tree | 5c2c3d8a6401247415e5e106140afdea2113661f | |
parent | 0eafa9d8ee4069aa709ff85ceffe94d12995956d [diff] |
Throttle MixerThread data pull to no more than twice expected rate This helps prevent underruns with NuPlayer and other applications which set up buffers that are close to minimum size or use deep buffers, and rely on a double-buffering sleep strategy to fill. Enabled by default. Disabled by setting af.thread.throttle 0 Bug: 19062223 Bug: 21198655 Change-Id: Ia52b48e0c99588af5db53c43fede2afd775b8899