commit | 192cbbad773979a6fe3b5a0c223356de4fc3309c | [log] [tgz] |
---|---|---|
author | Eric Laurent <elaurent@google.com> | Wed Jun 13 08:38:36 2012 -0700 |
committer | Eric Laurent <elaurent@google.com> | Thu Jun 14 10:56:59 2012 -0700 |
tree | 23bdbff8fd2a2b88a63a54287c6112908b050fb7 | |
parent | 82233b4b5bee06f11618a558ae465abbfdedfd6e [diff] |
Fix audio track pause. AudioTrack::pause() should signal the control block condition to release threads waiting for available buffers in obtainBuffer(). Otherwise the behavior relies on the timout on the condition or the fact that audioflinger will mix a new audio buffer while executing the pause. Bug 6653769. Change-Id: I5f8f73c471fe306070f30b814f32fd4b4dc1d575