commit | a4f24ff9b239300b4bb2098c1413c0a60edc2d7e | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Nov 27 14:29:13 2013 -0800 |
committer | Eric Laurent <elaurent@google.com> | Wed Nov 27 14:29:13 2013 -0800 |
tree | 1b328f28835885a21e67780129d6764f5b4384a9 | |
parent | 5ea5b020b311a68f513d4a40aca5551abc6a07d8 [diff] |
AudioTrack: fix position callback after restore When restoring an AudioTrack, the next position callback point should not be modified and set ahead of current buffer head. Otherwise, as frames are dropped, the new position is never reached and an application relying on position callbacks to reload the buffer would be stalled. Bug: 11868603. Change-Id: I93b2a311642a0c89944b78bcc0482d4ceed98ae4