diff options
author | Max Kellermann <max@duempel.org> | 2013-10-25 19:09:22 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-25 19:12:38 +0200 |
commit | 6d475c40de567d778fa6f96c379687a8bf83f82b (patch) | |
tree | 6302688c49ab48a514b593812688610ca9da2b75 /test/dump_rva2.cxx | |
parent | ed7891bf014c5085240361d605a0eaf24f74e7df (diff) | |
download | mpd-6d475c40de567d778fa6f96c379687a8bf83f82b.tar.gz mpd-6d475c40de567d778fa6f96c379687a8bf83f82b.tar.xz mpd-6d475c40de567d778fa6f96c379687a8bf83f82b.zip |
ReplayGainInfo: use CamelCase for struct name
Diffstat (limited to '')
-rw-r--r-- | test/dump_rva2.cxx | 7 |
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); |