summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-27 15:40:43 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-27 15:40:43 +0100
commitf0e3c3f4c398f25ad5d9f9133c0ff6162e6716ad (patch)
tree3e8d948be734a26d884cea35bc3caa8f78eaf71f /platform/android
parent518b9e5801a19229805fe837d7d0cf92920ad413 (diff)
parentf630940591f66cc98fb52f2873e8c9f1eb1ee056 (diff)
Merge pull request #72168 from RandomShaper/sensible_lock_return
Booleanize various sync primitives' wait & locking methods
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/audio_driver_opensl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/audio_driver_opensl.cpp b/platform/android/audio_driver_opensl.cpp
index 27cb84fb9d..9dad0c9357 100644
--- a/platform/android/audio_driver_opensl.cpp
+++ b/platform/android/audio_driver_opensl.cpp
@@ -44,7 +44,7 @@ void AudioDriverOpenSL::_buffer_callback(
if (pause) {
mix = false;
} else {
- mix = mutex.try_lock() == OK;
+ mix = mutex.try_lock();
}
if (mix) {