output/Control: add another Cond attribute, replacing audio_output_client_notify

This commit is contained in:
Max Kellermann
2018-06-23 19:11:48 +02:00
parent 1bca29f9e2
commit 1624a5eb8d
6 changed files with 13 additions and 33 deletions

View File

@@ -22,7 +22,6 @@
#include "Filtered.hxx"
#include "Client.hxx"
#include "Domain.hxx"
#include "notify.hxx"
#include "mixer/MixerInternal.hxx"
#include "thread/Util.hxx"
#include "thread/Slack.hxx"
@@ -41,8 +40,7 @@ AudioOutputControl::CommandFinished() noexcept
assert(command != Command::NONE);
command = Command::NONE;
const ScopeUnlock unlock(mutex);
audio_output_client_notify.Signal();
client_cond.signal();
}
inline void