diff options
author | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-01-27 11:04:41 +0100 |
---|---|---|
committer | Pedro J. Estébanez <pedrojrulez@gmail.com> | 2023-01-27 11:15:30 +0100 |
commit | f630940591f66cc98fb52f2873e8c9f1eb1ee056 (patch) | |
tree | 5876b0217b3c782698ea3650cdd32c6706d9fa1a /platform | |
parent | 9f74f0f6c5e5c98b18f4f0ad95092a88d064f616 (diff) |
Booleanize various sync primitives' wait & locking methods
Diffstat (limited to 'platform')
-rw-r--r-- | platform/android/audio_driver_opensl.cpp | 2 |
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) { |