From 0ac5b6e613777bab093d1dbca1f3d6c80c48ca52 Mon Sep 17 00:00:00 2001 From: Tim Phipps Date: Sat, 8 May 2010 00:19:44 -0700 Subject: mixramp: Adjust MixRamp threshold to account for ReplayGain. --- test/read_tags.c | 4 +++- test/run_decoder.c | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/read_tags.c b/test/read_tags.c index 19e1a4eb7..3e5e523bf 100644 --- a/test/read_tags.c +++ b/test/read_tags.c @@ -115,14 +115,16 @@ decoder_tag(G_GNUC_UNUSED struct decoder *decoder, return DECODE_COMMAND_NONE; } -void +float decoder_replay_gain(G_GNUC_UNUSED struct decoder *decoder, G_GNUC_UNUSED const struct replay_gain_info *replay_gain_info) { + return 0.0; } void decoder_mixramp(G_GNUC_UNUSED struct decoder *decoder, + G_GNUC_UNUSED float replay_gain_db, char *mixramp_start, char *mixramp_end) { g_free(mixramp_start); diff --git a/test/run_decoder.c b/test/run_decoder.c index d85cf10fe..ef268773a 100644 --- a/test/run_decoder.c +++ b/test/run_decoder.c @@ -136,14 +136,16 @@ decoder_tag(G_GNUC_UNUSED struct decoder *decoder, return DECODE_COMMAND_NONE; } -void +float decoder_replay_gain(G_GNUC_UNUSED struct decoder *decoder, G_GNUC_UNUSED const struct replay_gain_info *replay_gain_info) { + return 0.0; } void decoder_mixramp(G_GNUC_UNUSED struct decoder *decoder, + G_GNUC_UNUSED float replay_gain_db, char *mixramp_start, char *mixramp_end) { g_free(mixramp_start); -- cgit v1.2.3