Commit 30d41e45 authored by Max Kellermann's avatar Max Kellermann

output/multiple: remove unnecessary IsBusy() check from WaitAll()

AudioOutputControl::WaitForCommand() doesn't need this check.
parent bd9a5021
......@@ -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();
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment