commit | 44d9848d6656777a18019223e0d35f2fcc67719a | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Thu Sep 30 16:12:31 2010 -0700 |
committer | Eric Laurent <elaurent@google.com> | Thu Sep 30 17:21:23 2010 -0700 |
tree | fe71003d3400dcbdfe078f8d8fad1b1fde960b2c | |
parent | 922855214d0e8ae4159794d7f751f780b3243552 [diff] |
Issue 3032913: improve AudioTrack recovery time This issue showed that when an AudioTrack underruns during a too long period of time and is therefore disabled by audioflinger mixer, it takes an additional delay of up to 3 seconds to recover. This fix adds a simple mechanism to recover immediately when the client application is ready to write data again in the AudioTrack buffer Also throttle warnings on record overflows Change-Id: I8b2c71578dd134b9e60a15ee4d91b70f3799cb3d