summaryrefslogtreecommitdiff
path: root/src/player/Control.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-12-03 14:12:08 +0100
committerMax Kellermann <max@musicpd.org>2016-12-03 14:12:08 +0100
commit9fb7cc796b34f9faf8fa50354102a875e73fa476 (patch)
tree6e0bf5af8aa32fecfcc6b383bda35484e55d0e81 /src/player/Control.cxx
parent3472208c054507e2fd6616268570121579b5fcdb (diff)
decoder/Control: add attribute configured_audio_format
Obsoletes the same variable from AudioConfig.cxx.
Diffstat (limited to 'src/player/Control.cxx')
-rw-r--r--src/player/Control.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/player/Control.cxx b/src/player/Control.cxx
index cc56a19a3..db2537a33 100644
--- a/src/player/Control.cxx
+++ b/src/player/Control.cxx
@@ -30,10 +30,12 @@ PlayerControl::PlayerControl(PlayerListener &_listener,
MultipleOutputs &_outputs,
unsigned _buffer_chunks,
unsigned _buffered_before_play,
+ AudioFormat _configured_audio_format,
const ReplayGainConfig &_replay_gain_config)
:listener(_listener), outputs(_outputs),
buffer_chunks(_buffer_chunks),
buffered_before_play(_buffered_before_play),
+ configured_audio_format(_configured_audio_format),
replay_gain_config(_replay_gain_config)
{
}