diff options
author | Max Kellermann <max@duempel.org> | 2011-01-29 10:43:51 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-01-29 10:43:54 +0100 |
commit | 03f7803f261251f2acfb2bcc066d2c26ef57665e (patch) | |
tree | be17fa04b0e737730af7aa0af0bfae61daa3e763 /test/read_mixer.c | |
parent | c6cbcc2c25012d02f442af78634d25206f02dbea (diff) | |
download | mpd-03f7803f261251f2acfb2bcc066d2c26ef57665e.tar.gz mpd-03f7803f261251f2acfb2bcc066d2c26ef57665e.tar.xz mpd-03f7803f261251f2acfb2bcc066d2c26ef57665e.zip |
test/read_mixer: add workaround for missing RAOP symbols
Diffstat (limited to 'test/read_mixer.c')
-rw-r--r-- | test/read_mixer.c | 18 |
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) { |