You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
636 B
C++

// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project
#ifndef MPD_AUDIO_OUTPUT_DEFAULTS_HXX
#define MPD_AUDIO_OUTPUT_DEFAULTS_HXX
#include "mixer/Type.hxx"
struct ConfigData;
/**
* This struct contains global AudioOutput configuration settings
* which may provide defaults for per-output settings.
*/
struct AudioOutputDefaults {
bool normalize = false;
MixerType mixer_type = MixerType::HARDWARE;
constexpr AudioOutputDefaults() = default;
/**
* Load defaults from configuration file.
*
* Throws on error.
*/
explicit AudioOutputDefaults(const ConfigData &config);
};
#endif