output/Internal: move the Mutex to struct AudioOutputControl
struct AudioOutput should not know or care about multi-threading.
This commit is contained in:
@@ -480,7 +480,7 @@ AudioOutputControl::Task()
|
||||
|
||||
if (command == Command::NONE) {
|
||||
woken_for_play = false;
|
||||
cond.wait(output->mutex);
|
||||
cond.wait(mutex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user