diff options
author | Max Kellermann <max@duempel.org> | 2011-09-17 19:33:51 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-09-17 19:33:51 +0200 |
commit | 947848ebf6eb4706e8b3a88e7506e893b01f9a07 (patch) | |
tree | 354d2f860d9aa6d3a9046b170520b78bb9b20c4b /test/read_mixer.c | |
parent | 5e22fe488ed7209c6e470e542826da4674e93338 (diff) | |
download | mpd-947848ebf6eb4706e8b3a88e7506e893b01f9a07.tar.gz mpd-947848ebf6eb4706e8b3a88e7506e893b01f9a07.tar.xz mpd-947848ebf6eb4706e8b3a88e7506e893b01f9a07.zip |
output/roar: export volume methods
Use these instead of exposing the internal roar_t struct.
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 b45a14400..6512e2e94 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 HAVE_ROAR +#include "output/roar_output_plugin.h" + +int +roar_output_get_volume(G_GNUC_UNUSED struct roar *roar) +{ + return -1; +} + +bool +roar_output_set_volume(G_GNUC_UNUSED struct roar *roar, + G_GNUC_UNUSED unsigned volume) +{ + return true; +} + +#endif + #ifdef ENABLE_RAOP_OUTPUT #include "output/raop_output_plugin.h" |