diff options
author | Max Kellermann <max@duempel.org> | 2013-01-09 23:12:53 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-09 23:31:43 +0100 |
commit | 26ebfc04b0668262976ec4fc38d8780c0937045a (patch) | |
tree | 9bbb7825ea5299c9ebd5ed0343e92da70d0012b6 /src/mixer | |
parent | 8782f6d232e43f1424e64c5c1f44d11679cf9c6e (diff) | |
download | mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.tar.gz mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.tar.xz mpd-26ebfc04b0668262976ec4fc38d8780c0937045a.zip |
EventPipe: rename to GlobalEvents
Diffstat (limited to 'src/mixer')
-rw-r--r-- | src/mixer/AlsaMixerPlugin.cxx | 4 | ||||
-rw-r--r-- | src/mixer/PulseMixerPlugin.cxx | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mixer/AlsaMixerPlugin.cxx b/src/mixer/AlsaMixerPlugin.cxx index f00bfcb9d..9808c6dcc 100644 --- a/src/mixer/AlsaMixerPlugin.cxx +++ b/src/mixer/AlsaMixerPlugin.cxx @@ -20,7 +20,7 @@ #include "config.h" #include "mixer_api.h" #include "output_api.h" -#include "EventPipe.hxx" +#include "GlobalEvents.hxx" #include <glib.h> #include <alsa/asoundlib.h> @@ -211,7 +211,7 @@ static int alsa_mixer_elem_callback(G_GNUC_UNUSED snd_mixer_elem_t *elem, unsigned mask) { if (mask & SND_CTL_EVENT_MASK_VALUE) - event_pipe_emit(PIPE_EVENT_MIXER); + GlobalEvents::Emit(GlobalEvents::MIXER); return 0; } diff --git a/src/mixer/PulseMixerPlugin.cxx b/src/mixer/PulseMixerPlugin.cxx index 3b7937560..65dbc01fe 100644 --- a/src/mixer/PulseMixerPlugin.cxx +++ b/src/mixer/PulseMixerPlugin.cxx @@ -22,7 +22,7 @@ #include "mixer_api.h" #include "output/pulse_output_plugin.h" #include "conf.h" -#include "EventPipe.hxx" +#include "GlobalEvents.hxx" #include <glib.h> @@ -66,7 +66,7 @@ pulse_mixer_offline(struct pulse_mixer *pm) pm->online = false; - event_pipe_emit(PIPE_EVENT_MIXER); + GlobalEvents::Emit(GlobalEvents::MIXER); } /** @@ -90,7 +90,7 @@ pulse_mixer_volume_cb(G_GNUC_UNUSED pa_context *context, const pa_sink_input_inf pm->online = true; pm->volume = i->volume; - event_pipe_emit(PIPE_EVENT_MIXER); + GlobalEvents::Emit(GlobalEvents::MIXER); } static void |