decoder/Control: add attribute configured_audio_format

Obsoletes the same variable from AudioConfig.cxx.
This commit is contained in:
Max Kellermann
2016-12-03 14:12:08 +01:00
parent 3472208c05
commit 9fb7cc796b
13 changed files with 41 additions and 91 deletions

View File

@@ -115,6 +115,11 @@ struct DecoderControl {
bool seekable;
SongTime seek_time;
/**
* The "audio_output_format" setting.
*/
const AudioFormat configured_audio_format;
/** the format of the song file */
AudioFormat in_audio_format;
@@ -171,6 +176,7 @@ struct DecoderControl {
* @param _client_cond see #client_cond
*/
DecoderControl(Mutex &_mutex, Cond &_client_cond,
const AudioFormat _configured_audio_format,
const ReplayGainConfig &_replay_gain_config);
~DecoderControl();