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

AudioOutputControl::WaitForCommand() doesn't need this check.
This commit is contained in:
Max Kellermann 2018-06-23 19:23:18 +02:00
parent bd9a5021da
commit 30d41e45e2

View File

@ -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();
}
}