aboutsummaryrefslogtreecommitdiffstats
path: root/src/OutputThread.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-10 10:44:04 +0100
committerMax Kellermann <max@duempel.org>2013-01-10 10:44:04 +0100
commitb8cda53bd36809b6f61c2e42a673dfdcd43f0c1d (patch)
tree297e3f5d87d2304a7311549399d1896d377d0099 /src/OutputThread.cxx
parente0a97a030fc4c6f978b2855c32f5da98b3e7fb78 (diff)
downloadmpd-b8cda53bd36809b6f61c2e42a673dfdcd43f0c1d.tar.gz
mpd-b8cda53bd36809b6f61c2e42a673dfdcd43f0c1d.tar.xz
mpd-b8cda53bd36809b6f61c2e42a673dfdcd43f0c1d.zip
notify: convert to C++
Diffstat (limited to '')
-rw-r--r--src/OutputThread.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/OutputThread.cxx b/src/OutputThread.cxx
index 6fe833330..59394e072 100644
--- a/src/OutputThread.cxx
+++ b/src/OutputThread.cxx
@@ -26,9 +26,9 @@ extern "C" {
#include "pcm_mix.h"
#include "filter_plugin.h"
#include "filter/convert_filter_plugin.h"
-#include "notify.h"
}
+#include "notify.hxx"
#include "filter/ReplayGainFilterPlugin.hxx"
#include "PlayerControl.hxx"
#include "MusicPipe.hxx"
@@ -52,7 +52,7 @@ static void ao_command_finished(struct audio_output *ao)
ao->command = AO_COMMAND_NONE;
g_mutex_unlock(ao->mutex);
- notify_signal(&audio_output_client_notify);
+ audio_output_client_notify.Signal();
g_mutex_lock(ao->mutex);
}