commit | 673f360b0e22a8591f515cba7a90d5cfcfad81a7 | [log] [tgz] |
---|---|---|
author | Narayan Kamath <narayan@google.com> | Wed Jul 20 10:41:52 2011 +0100 |
committer | Narayan Kamath <narayan@google.com> | Thu Jul 21 13:06:28 2011 +0100 |
tree | 6325b7ea3f967fa99568aeba03b8d5ec9a0a7371 | |
parent | 5a8ca580b078c7335d8ee384dd93dc86663d8d53 [diff] |
Fix some AudioTrack related issues. (a) Call stop() when we've written less than the AudioTrack buffer. This forces pending buffers to get mixed. (b) Introduce a minimum sleep time to avoid spinlocks if they system is busy Change-Id: If70937e8b4e8c5d02d7dadc0d3086f97a10eb7ef