aaudio: prevent stop/close from a callback
Detect whether AAudioStream_requestStop() is being called from a data or error callback and return error. Also for start(), pause(), flush() and close(). Honor AAUDIO_CALLBACK_RESULT_STOP in Legacy callback. Bug: 65560631 Bug: 62943389 Bug: 63096718 Test: test_various.cpp callback_blocker_none and callback_blocker_lowlat Change-Id: I29a685cd42910f70d16e23db0f9ec00b72451cfc
Loading
Please register or sign in to comment