Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 7a9577cb authored by Phil Burk's avatar Phil Burk
Browse files

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
parent d9996aa2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment