From d6e28c42e5c2bdab73d3553b21a09fa28dabd037 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 25 Oct 2013 19:05:49 +0200 Subject: ReplayGainInfo: refactor to a class --- test/dump_playlist.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/dump_playlist.cxx') diff --git a/test/dump_playlist.cxx b/test/dump_playlist.cxx index 6517473d2..d8a8084b0 100644 --- a/test/dump_playlist.cxx +++ b/test/dump_playlist.cxx @@ -120,12 +120,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); } -- cgit v1.2.3