summaryrefslogtreecommitdiff
path: root/src/player/Control.hxx
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.hxx
parent3472208c054507e2fd6616268570121579b5fcdb (diff)
decoder/Control: add attribute configured_audio_format
Obsoletes the same variable from AudioConfig.cxx.
Diffstat (limited to 'src/player/Control.hxx')
-rw-r--r--src/player/Control.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/player/Control.hxx b/src/player/Control.hxx
index 144bcade6..798aeacce 100644
--- a/src/player/Control.hxx
+++ b/src/player/Control.hxx
@@ -106,6 +106,11 @@ struct PlayerControl {
const unsigned buffered_before_play;
/**
+ * The "audio_output_format" setting.
+ */
+ const AudioFormat configured_audio_format;
+
+ /**
* The handle of the player thread.
*/
Thread thread;
@@ -187,6 +192,7 @@ struct PlayerControl {
MultipleOutputs &_outputs,
unsigned buffer_chunks,
unsigned buffered_before_play,
+ AudioFormat _configured_audio_format,
const ReplayGainConfig &_replay_gain_config);
~PlayerControl();