aboutsummaryrefslogtreecommitdiffstats
path: root/src/ReplayGainInfo.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-25 19:09:22 +0200
committerMax Kellermann <max@duempel.org>2013-10-25 19:12:38 +0200
commit6d475c40de567d778fa6f96c379687a8bf83f82b (patch)
tree6302688c49ab48a514b593812688610ca9da2b75 /src/ReplayGainInfo.cxx
parented7891bf014c5085240361d605a0eaf24f74e7df (diff)
downloadmpd-6d475c40de567d778fa6f96c379687a8bf83f82b.tar.gz
mpd-6d475c40de567d778fa6f96c379687a8bf83f82b.tar.xz
mpd-6d475c40de567d778fa6f96c379687a8bf83f82b.zip
ReplayGainInfo: use CamelCase for struct name
Diffstat (limited to 'src/ReplayGainInfo.cxx')
-rw-r--r--src/ReplayGainInfo.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ReplayGainInfo.cxx b/src/ReplayGainInfo.cxx
index ac1c13822..6ad9d269e 100644
--- a/src/ReplayGainInfo.cxx
+++ b/src/ReplayGainInfo.cxx
@@ -21,7 +21,7 @@
#include "ReplayGainInfo.hxx"
float
-replay_gain_tuple_scale(const struct replay_gain_tuple *tuple, float preamp, float missing_preamp, bool peak_limit)
+replay_gain_tuple_scale(const ReplayGainTuple *tuple, float preamp, float missing_preamp, bool peak_limit)
{
float scale;
@@ -40,9 +40,9 @@ replay_gain_tuple_scale(const struct replay_gain_tuple *tuple, float preamp, flo
}
void
-replay_gain_info_complete(struct replay_gain_info *info)
+replay_gain_info_complete(ReplayGainInfo &info)
{
- if (!replay_gain_tuple_defined(&info->tuples[REPLAY_GAIN_ALBUM]))
- info->tuples[REPLAY_GAIN_ALBUM] =
- info->tuples[REPLAY_GAIN_TRACK];
+ if (!replay_gain_tuple_defined(&info.tuples[REPLAY_GAIN_ALBUM]))
+ info.tuples[REPLAY_GAIN_ALBUM] =
+ info.tuples[REPLAY_GAIN_TRACK];
}