output/Control: rename "cond" to "wake_cond"

Prepare for adding another Cond attribute.
This commit is contained in:
Max Kellermann
2018-06-23 19:10:23 +02:00
parent efb8a9bd2c
commit 1bca29f9e2
3 changed files with 6 additions and 6 deletions

View File

@@ -218,7 +218,7 @@ AudioOutputControl::WaitForDelay() noexcept
if (delay <= std::chrono::steady_clock::duration::zero())
return true;
(void)cond.timed_wait(mutex, delay);
(void)wake_cond.timed_wait(mutex, delay);
if (command != Command::NONE)
return false;
@@ -491,7 +491,7 @@ AudioOutputControl::Task() noexcept
if (command == Command::NONE) {
woken_for_play = false;
cond.wait(mutex);
wake_cond.wait(mutex);
}
}
}