2023-03-06 14:42:04 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
// Copyright The Music Player Daemon Project
|
2004-05-08 14:04:23 +02:00
|
|
|
|
2021-12-03 23:04:39 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
struct ConfigData;
|
2004-05-08 00:42:54 +02:00
|
|
|
|
2016-11-25 11:13:08 +01:00
|
|
|
struct ReplayGainConfig {
|
|
|
|
static constexpr bool DEFAULT_LIMIT = true;
|
2006-07-24 18:32:50 +02:00
|
|
|
|
2016-11-25 11:13:08 +01:00
|
|
|
float preamp = 1.0;
|
|
|
|
|
|
|
|
float missing_preamp = 1.0;
|
|
|
|
|
|
|
|
bool limit = DEFAULT_LIMIT;
|
2004-05-08 00:42:54 +02:00
|
|
|
|
2021-12-03 23:04:39 +01:00
|
|
|
ReplayGainConfig() = default;
|
|
|
|
|
|
|
|
explicit ReplayGainConfig(const ConfigData &config);
|
|
|
|
};
|