commit | 9e9a95b347ce2a86ced8b3b12603e05d1411b708 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Thu Jan 18 12:14:15 2018 -0800 |
committer | Phil Burk <philburk@google.com> | Thu Jan 18 12:17:11 2018 -0800 |
tree | dd37a955d47435239d1224a7e760f8613cba9822 | |
parent | 87b4679598403fe752f57f1cfca4709ca82e97b8 [diff] |
aaudio: fix race condition in requestStart() Set callback enable flag before starting AudioTrack callback. Bug: 72115512 Test: Repeat: adb shell write_sine_callback -pn -s4 Test: 20 times and make sure framesWritten is advancing. Change-Id: I670fde46da0dccf8a6d03478fe2aa8b7ad596a3b