commit | 4712baab81d0b683bc22668d2278c9daff92797e | [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 | e2af5c484425ede13606e62569ad615b184d2d8f | |
parent | 0a972acf85ce0cf7bba5a77628e9cf59a0946bd0 [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