summaryrefslogtreecommitdiff
path: root/src/ReplayGainInfo.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-11-25 11:13:08 +0100
committerMax Kellermann <max@musicpd.org>2016-11-25 11:13:08 +0100
commit77c1f5487668569abb24dc458c40f019539dda52 (patch)
tree028c4bb9714a165f7a9ccb4984ae346267c719a7 /src/ReplayGainInfo.hxx
parentdc5984d0e0fb28ce4443c7bd1791fa1363fb7bed (diff)
ReplayGainConfig: add struct ReplayGainConfig, move globals to ReplayGainGlobal.cxx
Diffstat (limited to 'src/ReplayGainInfo.hxx')
-rw-r--r--src/ReplayGainInfo.hxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ReplayGainInfo.hxx b/src/ReplayGainInfo.hxx
index ae14635ad..3e5549960 100644
--- a/src/ReplayGainInfo.hxx
+++ b/src/ReplayGainInfo.hxx
@@ -24,6 +24,8 @@
#include "Compiler.h"
#include "ReplayGainMode.hxx"
+struct ReplayGainConfig;
+
struct ReplayGainTuple {
float gain;
float peak;
@@ -38,8 +40,7 @@ struct ReplayGainTuple {
}
gcc_pure
- float CalculateScale(float preamp, float missing_preamp,
- bool peak_limit) const;
+ float CalculateScale(const ReplayGainConfig &config) const;
};
struct ReplayGainInfo {