aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_decoder.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/run_decoder.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/run_decoder.cxx b/test/run_decoder.cxx
index 53e6ede2a..f4662e8af 100644
--- a/test/run_decoder.cxx
+++ b/test/run_decoder.cxx
@@ -130,12 +130,12 @@ decoder_replay_gain(gcc_unused Decoder &decoder,
const ReplayGainInfo *rgi)
{
const ReplayGainTuple *tuple = &rgi->tuples[REPLAY_GAIN_ALBUM];
- if (replay_gain_tuple_defined(tuple))
+ if (tuple->IsDefined())
g_printerr("replay_gain[album]: gain=%f peak=%f\n",
tuple->gain, tuple->peak);
tuple = &rgi->tuples[REPLAY_GAIN_TRACK];
- if (replay_gain_tuple_defined(tuple))
+ if (tuple->IsDefined())
g_printerr("replay_gain[track]: gain=%f peak=%f\n",
tuple->gain, tuple->peak);
}