aboutsummaryrefslogtreecommitdiffstats
path: root/test/read_mixer.c
diff options
context:
space:
mode:
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)
{