aboutsummaryrefslogtreecommitdiffstats
path: root/test/dump_rva2.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/dump_rva2.cxx')
-rw-r--r--test/dump_rva2.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/dump_rva2.cxx b/test/dump_rva2.cxx
index 3206f970a..a77568c99 100644
--- a/test/dump_rva2.cxx
+++ b/test/dump_rva2.cxx
@@ -66,10 +66,10 @@ int main(int argc, char **argv)
return EXIT_FAILURE;
}
- struct replay_gain_info replay_gain;
+ ReplayGainInfo replay_gain;
replay_gain_info_init(&replay_gain);
- bool success = tag_rva2_parse(tag, &replay_gain);
+ bool success = tag_rva2_parse(tag, replay_gain);
id3_tag_delete(tag);
if (!success) {
@@ -77,8 +77,7 @@ int main(int argc, char **argv)
return EXIT_FAILURE;
}
- const struct replay_gain_tuple *tuple =
- &replay_gain.tuples[REPLAY_GAIN_ALBUM];
+ const ReplayGainTuple *tuple = &replay_gain.tuples[REPLAY_GAIN_ALBUM];
if (replay_gain_tuple_defined(tuple))
g_printerr("replay_gain[album]: gain=%f peak=%f\n",
tuple->gain, tuple->peak);