aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/read_tags.c9
-rw-r--r--test/run_decoder.c9
2 files changed, 14 insertions, 4 deletions
diff --git a/test/read_tags.c b/test/read_tags.c
index 8138c187f..b6d38079a 100644
--- a/test/read_tags.c
+++ b/test/read_tags.c
@@ -106,8 +106,7 @@ enum decoder_command
decoder_data(G_GNUC_UNUSED struct decoder *decoder,
G_GNUC_UNUSED struct input_stream *is,
const void *data, size_t datalen,
- G_GNUC_UNUSED uint16_t bit_rate,
- G_GNUC_UNUSED struct replay_gain_info *replay_gain_info)
+ G_GNUC_UNUSED uint16_t bit_rate)
{
write(1, data, datalen);
return DECODE_COMMAND_NONE;
@@ -121,6 +120,12 @@ decoder_tag(G_GNUC_UNUSED struct decoder *decoder,
return DECODE_COMMAND_NONE;
}
+void
+decoder_replay_gain(G_GNUC_UNUSED struct decoder *decoder,
+ G_GNUC_UNUSED const struct replay_gain_info *replay_gain_info)
+{
+}
+
static void
print_tag(const struct tag *tag)
{
diff --git a/test/run_decoder.c b/test/run_decoder.c
index 5a41ef8f6..b5177dd5e 100644
--- a/test/run_decoder.c
+++ b/test/run_decoder.c
@@ -127,8 +127,7 @@ enum decoder_command
decoder_data(G_GNUC_UNUSED struct decoder *decoder,
G_GNUC_UNUSED struct input_stream *is,
const void *data, size_t datalen,
- G_GNUC_UNUSED uint16_t kbit_rate,
- G_GNUC_UNUSED struct replay_gain_info *replay_gain_info)
+ G_GNUC_UNUSED uint16_t kbit_rate)
{
write(1, data, datalen);
return DECODE_COMMAND_NONE;
@@ -142,6 +141,12 @@ decoder_tag(G_GNUC_UNUSED struct decoder *decoder,
return DECODE_COMMAND_NONE;
}
+void
+decoder_replay_gain(G_GNUC_UNUSED struct decoder *decoder,
+ G_GNUC_UNUSED const struct replay_gain_info *replay_gain_info)
+{
+}
+
int main(int argc, char **argv)
{
GError *error = NULL;