Booleanize various sync primitives' wait & locking methods
This commit is contained in:
parent
9f74f0f6c5
commit
f630940591
9 changed files with 20 additions and 23 deletions
|
|
@ -44,7 +44,7 @@ void AudioDriverOpenSL::_buffer_callback(
|
|||
if (pause) {
|
||||
mix = false;
|
||||
} else {
|
||||
mix = mutex.try_lock() == OK;
|
||||
mix = mutex.try_lock();
|
||||
}
|
||||
|
||||
if (mix) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue