aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/read_tags.c3
-rw-r--r--test/run_decoder.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/read_tags.c b/test/read_tags.c
index cdee3722f..1b223f074 100644
--- a/test/read_tags.c
+++ b/test/read_tags.c
@@ -32,11 +32,12 @@
/**
* No-op dummy.
*/
-void
+bool
pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length,
G_GNUC_UNUSED const struct audio_format *format,
G_GNUC_UNUSED int volume)
{
+ return true;
}
void
diff --git a/test/run_decoder.c b/test/run_decoder.c
index 8d11494c7..6bd331b02 100644
--- a/test/run_decoder.c
+++ b/test/run_decoder.c
@@ -30,11 +30,12 @@
/**
* No-op dummy.
*/
-void
+bool
pcm_volume(G_GNUC_UNUSED void *buffer, G_GNUC_UNUSED int length,
G_GNUC_UNUSED const struct audio_format *format,
G_GNUC_UNUSED int volume)
{
+ return true;
}
struct decoder {