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 /drivers/coreaudio | |
parent | 9f74f0f6c5e5c98b18f4f0ad95092a88d064f616 (diff) |
Booleanize various sync primitives' wait & locking methods
Diffstat (limited to 'drivers/coreaudio')
-rw-r--r-- | drivers/coreaudio/audio_driver_coreaudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/coreaudio/audio_driver_coreaudio.cpp b/drivers/coreaudio/audio_driver_coreaudio.cpp index 966a09c6c2..3b2dd95f97 100644 --- a/drivers/coreaudio/audio_driver_coreaudio.cpp +++ b/drivers/coreaudio/audio_driver_coreaudio.cpp @@ -283,7 +283,7 @@ void AudioDriverCoreAudio::unlock() { } bool AudioDriverCoreAudio::try_lock() { - return mutex.try_lock() == OK; + return mutex.try_lock(); } void AudioDriverCoreAudio::finish() { |