diff options
author | Max Kellermann <max@musicpd.org> | 2016-12-03 14:12:08 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2016-12-03 14:12:08 +0100 |
commit | 9fb7cc796b34f9faf8fa50354102a875e73fa476 (patch) | |
tree | 6e0bf5af8aa32fecfcc6b383bda35484e55d0e81 /src/Partition.cxx | |
parent | 3472208c054507e2fd6616268570121579b5fcdb (diff) |
decoder/Control: add attribute configured_audio_format
Obsoletes the same variable from AudioConfig.cxx.
Diffstat (limited to 'src/Partition.cxx')
-rw-r--r-- | src/Partition.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Partition.cxx b/src/Partition.cxx index b3dc9b73d..824051d64 100644 --- a/src/Partition.cxx +++ b/src/Partition.cxx @@ -28,13 +28,14 @@ Partition::Partition(Instance &_instance, unsigned max_length, unsigned buffer_chunks, unsigned buffered_before_play, + AudioFormat configured_audio_format, const ReplayGainConfig &replay_gain_config) :instance(_instance), global_events(instance.event_loop, BIND_THIS_METHOD(OnGlobalEvent)), playlist(max_length, *this), outputs(*this), pc(*this, outputs, buffer_chunks, buffered_before_play, - replay_gain_config) + configured_audio_format, replay_gain_config) { UpdateEffectiveReplayGainMode(); } |