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
+3 -3
View File
@@ -128,7 +128,7 @@ AudioOutputControl::CommandAsync(Command cmd) noexcept
assert(IsCommandFinished());
command = cmd;
cond.signal();
wake_cond.signal();
}
void
@@ -298,7 +298,7 @@ AudioOutputControl::LockPlay() noexcept
if (IsOpen() && !in_playback_loop && !woken_for_play) {
woken_for_play = true;
cond.signal();
wake_cond.signal();
}
}
@@ -346,7 +346,7 @@ AudioOutputControl::LockAllowPlay() noexcept
allow_play = true;
if (IsOpen())
cond.signal();
wake_cond.signal();
}
void