diff options
author | Max Kellermann <max@duempel.org> | 2013-01-10 10:44:04 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-10 10:44:04 +0100 |
commit | b8cda53bd36809b6f61c2e42a673dfdcd43f0c1d (patch) | |
tree | 297e3f5d87d2304a7311549399d1896d377d0099 /src/OutputControl.cxx | |
parent | e0a97a030fc4c6f978b2855c32f5da98b3e7fb78 (diff) | |
download | mpd-b8cda53bd36809b6f61c2e42a673dfdcd43f0c1d.tar.gz mpd-b8cda53bd36809b6f61c2e42a673dfdcd43f0c1d.tar.xz mpd-b8cda53bd36809b6f61c2e42a673dfdcd43f0c1d.zip |
notify: convert to C++
Diffstat (limited to '')
-rw-r--r-- | src/OutputControl.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OutputControl.cxx b/src/OutputControl.cxx index 005003d2d..13625ade2 100644 --- a/src/OutputControl.cxx +++ b/src/OutputControl.cxx @@ -26,9 +26,9 @@ extern "C" { #include "output_internal.h" #include "mixer_control.h" #include "mixer_plugin.h" -#include "notify.h" } +#include "notify.hxx" #include "filter/ReplayGainFilterPlugin.hxx" #include "filter_plugin.h" @@ -52,7 +52,7 @@ static void ao_command_wait(struct audio_output *ao) { while (ao->command != AO_COMMAND_NONE) { g_mutex_unlock(ao->mutex); - notify_wait(&audio_output_client_notify); + audio_output_client_notify.Wait(); g_mutex_lock(ao->mutex); } } |