output/multiple: remove unnecessary IsBusy() check from WaitAll()
AudioOutputControl::WaitForCommand() doesn't need this check.
This commit is contained in:
parent
bd9a5021da
commit
30d41e45e2
@ -159,8 +159,7 @@ MultipleOutputs::WaitAll() noexcept
|
||||
{
|
||||
for (auto *ao : outputs) {
|
||||
const std::lock_guard<Mutex> protect(ao->mutex);
|
||||
if (ao->IsBusy())
|
||||
ao->WaitForCommand();
|
||||
ao->WaitForCommand();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user