aboutsummaryrefslogtreecommitdiffstats
path: root/test/dump_playlist.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/dump_playlist.cxx')
-rw-r--r--test/dump_playlist.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/dump_playlist.cxx b/test/dump_playlist.cxx
index 044b85d79..6517473d2 100644
--- a/test/dump_playlist.cxx
+++ b/test/dump_playlist.cxx
@@ -117,15 +117,14 @@ decoder_tag(gcc_unused Decoder &decoder,
void
decoder_replay_gain(gcc_unused Decoder &decoder,
- const struct replay_gain_info *replay_gain_info)
+ const ReplayGainInfo *rgi)
{
- const struct replay_gain_tuple *tuple =
- &replay_gain_info->tuples[REPLAY_GAIN_ALBUM];
+ const ReplayGainTuple *tuple = &rgi->tuples[REPLAY_GAIN_ALBUM];
if (replay_gain_tuple_defined(tuple))
g_printerr("replay_gain[album]: gain=%f peak=%f\n",
tuple->gain, tuple->peak);
- tuple = &replay_gain_info->tuples[REPLAY_GAIN_TRACK];
+ tuple = &rgi->tuples[REPLAY_GAIN_TRACK];
if (replay_gain_tuple_defined(tuple))
g_printerr("replay_gain[track]: gain=%f peak=%f\n",
tuple->gain, tuple->peak);