diff options
author | Max Kellermann <max@duempel.org> | 2009-11-10 21:38:20 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-10 21:38:20 +0100 |
commit | 6a5f4651a12cfb624e723835b0c37f38ffb4ec64 (patch) | |
tree | 637f5445918a7b58fc4484ebe836670426848afe /test/read_mixer.c | |
parent | 70106464d306a3723b0fa5df094502c846033fd3 (diff) | |
download | mpd-6a5f4651a12cfb624e723835b0c37f38ffb4ec64.tar.gz mpd-6a5f4651a12cfb624e723835b0c37f38ffb4ec64.tar.xz mpd-6a5f4651a12cfb624e723835b0c37f38ffb4ec64.zip |
test: fixed the read_mixer program on !HAVE_PULSE
Diffstat (limited to 'test/read_mixer.c')
-rw-r--r-- | test/read_mixer.c | 7 |
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) { |