From 03f7803f261251f2acfb2bcc066d2c26ef57665e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 29 Jan 2011 10:43:51 +0100 Subject: test/read_mixer: add workaround for missing RAOP symbols --- test/read_mixer.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'test') 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) { -- cgit v1.2.3