diff options
Diffstat (limited to 'src/ReplayGainConfig.hxx')
-rw-r--r-- | src/ReplayGainConfig.hxx | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/ReplayGainConfig.hxx b/src/ReplayGainConfig.hxx index 3d3154c3f..f5d560ecc 100644 --- a/src/ReplayGainConfig.hxx +++ b/src/ReplayGainConfig.hxx @@ -21,14 +21,15 @@ #define MPD_REPLAY_GAIN_CONFIG_HXX #include "check.h" -#include "ReplayGainMode.hxx" -extern ReplayGainMode replay_gain_mode; -extern float replay_gain_preamp; -extern float replay_gain_missing_preamp; -extern bool replay_gain_limit; +struct ReplayGainConfig { + static constexpr bool DEFAULT_LIMIT = true; -void -replay_gain_global_init(); + float preamp = 1.0; + + float missing_preamp = 1.0; + + bool limit = DEFAULT_LIMIT; +}; #endif |