diff options
author | Max Kellermann <max@duempel.org> | 2009-11-01 15:44:56 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-11-01 15:44:56 +0100 |
commit | 8bfe3497b0909b33b4fdf5a17e80eb45d77fddeb (patch) | |
tree | 115885209ed7e684376ca25d4efee7225ec79e17 /test | |
parent | 9bcfd3a47da540abeb2da06471cf2fa11c14db49 (diff) | |
download | mpd-8bfe3497b0909b33b4fdf5a17e80eb45d77fddeb.tar.gz mpd-8bfe3497b0909b33b4fdf5a17e80eb45d77fddeb.tar.xz mpd-8bfe3497b0909b33b4fdf5a17e80eb45d77fddeb.zip |
replay_gain: trigger OPTIONS idle event on mode change
Diffstat (limited to 'test')
-rw-r--r-- | test/read_tags.c | 9 | ||||
-rw-r--r-- | test/run_decoder.c | 9 |
2 files changed, 18 insertions, 0 deletions
diff --git a/test/read_tags.c b/test/read_tags.c index db2221c13..d38183667 100644 --- a/test/read_tags.c +++ b/test/read_tags.c @@ -25,6 +25,7 @@ #include "tag_ape.h" #include "tag_id3.h" #include "config.h" +#include "idle.h" #include <glib.h> @@ -38,6 +39,14 @@ /** * No-op dummy. */ +void +idle_add(G_GNUC_UNUSED unsigned flags) +{ +} + +/** + * No-op dummy. + */ bool pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length, G_GNUC_UNUSED const struct audio_format *format, diff --git a/test/run_decoder.c b/test/run_decoder.c index 861720cdb..3128c6121 100644 --- a/test/run_decoder.c +++ b/test/run_decoder.c @@ -22,6 +22,7 @@ #include "input_stream.h" #include "audio_format.h" #include "pcm_volume.h" +#include "idle.h" #include <glib.h> @@ -31,6 +32,14 @@ /** * No-op dummy. */ +void +idle_add(G_GNUC_UNUSED unsigned flags) +{ +} + +/** + * No-op dummy. + */ bool pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length, G_GNUC_UNUSED const struct audio_format *format, |