aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2011-01-29 10:43:51 +0100
committerMax Kellermann <max@duempel.org>2011-01-29 10:43:54 +0100
commit03f7803f261251f2acfb2bcc066d2c26ef57665e (patch)
treebe17fa04b0e737730af7aa0af0bfae61daa3e763
parentc6cbcc2c25012d02f442af78634d25206f02dbea (diff)
downloadmpd-03f7803f261251f2acfb2bcc066d2c26ef57665e.tar.gz
mpd-03f7803f261251f2acfb2bcc066d2c26ef57665e.tar.xz
mpd-03f7803f261251f2acfb2bcc066d2c26ef57665e.zip
test/read_mixer: add workaround for missing RAOP symbols
-rw-r--r--test/read_mixer.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/read_mixer.c b/test/read_mixer.c
index e7572bbbf..713fc9f38 100644
--- a/test/read_mixer.c
+++ b/test/read_mixer.c
@@ -55,6 +55,24 @@ pulse_output_set_volume(G_GNUC_UNUSED struct pulse_output *po,
#endif
+#ifdef ENABLE_RAOP_OUTPUT
+#include "output/raop_output_plugin.h"
+
+bool
+raop_set_volume(G_GNUC_UNUSED struct raop_data *rd,
+ G_GNUC_UNUSED unsigned volume)
+{
+ return false;
+}
+
+int
+raop_get_volume(G_GNUC_UNUSED struct raop_data *rd)
+{
+ return -1;
+}
+
+#endif
+
void
event_pipe_emit(G_GNUC_UNUSED enum pipe_event event)
{