Merge pull request #72168 from RandomShaper/sensible_lock_return

Booleanize various sync primitives' wait & locking methods
This commit is contained in:
Rémi Verschelde 2023-01-27 15:40:43 +01:00
commit f0e3c3f4c3
No known key found for this signature in database
GPG key ID: C3336907360768E1
9 changed files with 20 additions and 23 deletions

View file

@ -44,7 +44,7 @@ void AudioDriverOpenSL::_buffer_callback(
if (pause) {
mix = false;
} else {
mix = mutex.try_lock() == OK;
mix = mutex.try_lock();
}
if (mix) {