aboutsummaryrefslogtreecommitdiffstats
path: root/test/read_mixer.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-10 21:38:20 +0100
committerMax Kellermann <max@duempel.org>2009-11-10 21:38:20 +0100
commit6a5f4651a12cfb624e723835b0c37f38ffb4ec64 (patch)
tree637f5445918a7b58fc4484ebe836670426848afe /test/read_mixer.c
parent70106464d306a3723b0fa5df094502c846033fd3 (diff)
downloadmpd-6a5f4651a12cfb624e723835b0c37f38ffb4ec64.tar.gz
mpd-6a5f4651a12cfb624e723835b0c37f38ffb4ec64.tar.xz
mpd-6a5f4651a12cfb624e723835b0c37f38ffb4ec64.zip
test: fixed the read_mixer program on !HAVE_PULSE
Diffstat (limited to '')
-rw-r--r--test/read_mixer.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/test/read_mixer.c b/test/read_mixer.c
index 0272ec67a..208503618 100644
--- a/test/read_mixer.c
+++ b/test/read_mixer.c
@@ -21,8 +21,8 @@
#include "mixer_list.h"
#include "filter_registry.h"
#include "pcm_volume.h"
-#include "output/pulse_output_plugin.h"
#include "event_pipe.h"
+#include "config.h"
#include <glib.h>
@@ -30,6 +30,9 @@
#include <string.h>
#include <unistd.h>
+#ifdef HAVE_PULSE
+#include "output/pulse_output_plugin.h"
+
void
pulse_output_set_mixer(G_GNUC_UNUSED struct pulse_output *po,
G_GNUC_UNUSED struct pulse_mixer *pm)
@@ -50,6 +53,8 @@ pulse_output_set_volume(G_GNUC_UNUSED struct pulse_output *po,
return false;
}
+#endif
+
void
event_pipe_emit(G_GNUC_UNUSED enum pipe_event event)
{