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

@@ -1163,7 +1163,9 @@ player_task(void *arg)
SetThreadName("player");
DecoderControl dc(pc.mutex, pc.cond, pc.replay_gain_config);
DecoderControl dc(pc.mutex, pc.cond,
pc.configured_audio_format,
pc.replay_gain_config);
decoder_thread_start(dc);
MusicBuffer buffer(pc.buffer_chunks);