commit | 7a9577cbb13a5d5cf85918ff746f098ae75dd1c6 | [log] [tgz] |
---|---|---|
author | Phil Burk <philburk@google.com> | Fri Mar 12 20:12:11 2021 +0000 |
committer | Phil Burk <philburk@google.com> | Fri Apr 16 22:48:27 2021 +0000 |
tree | f217569241cea243d1f0f5480f84949e7391b9fb | |
parent | d9996aa2e12ceead60268527ac702bbd506ea017 [diff] |
AudioTrack and AudioRecord: add stopAndJoinCallbacks() Explicitly force callbacks to stop running. This is needed to prevent a race condition with the callbacks running after a close. Bug: 164411271 Bug: 143305727 Bug: 182954108 Test: atest CtsNativeMediaAAudioTestCases Test: libaaudio/tests/test_callback_race.cpp Change-Id: Ia86c758d7f1c281a5d933bc384283440e1f1a756