ReplayGainInfo: use CamelCase for struct name

This commit is contained in:
Max Kellermann
2013-10-25 19:09:22 +02:00
parent ed7891bf01
commit 6d475c40de
35 changed files with 123 additions and 133 deletions

View File

@@ -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);