ReplayGainConfig: add struct ReplayGainConfig, move globals to ReplayGainGlobal.cxx
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user