aboutsummaryrefslogtreecommitdiffstats
path: root/src/ReplayGainInfo.cxx
diff options
context:
space:
mode:
Diffstat (limited to '')
-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];
}