summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorTim Phipps <mpd@phipps-hutton.freeserve.co.uk>2010-05-08 00:19:44 -0700
committerAvuton Olrich <avuton@gmail.com>2010-05-08 00:19:44 -0700
commit0ac5b6e613777bab093d1dbca1f3d6c80c48ca52 (patch)
tree167dbcd9c66cb60baf6ea61b0d501fdca4c71e98 /test
parenteb5208c4f9e642c45b305f338c224cb65075840b (diff)
mixramp: Adjust MixRamp threshold to account for ReplayGain.
Diffstat (limited to 'test')
-rw-r--r--test/read_tags.c4
-rw-r--r--test/run_decoder.c4
2 files changed, 6 insertions, 2 deletions
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);