summaryrefslogtreecommitdiff
path: root/src/Partition.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-12-03 13:14:06 +0100
committerMax Kellermann <max@musicpd.org>2016-12-03 13:55:14 +0100
commitfc30e1d55966553fa2653297c15421994b1aa2bd (patch)
tree3c00d9647ccd0067b654d4c505824f93fae4c81d /src/Partition.cxx
parentcd4bb444ff74b00a62c7653500aa0ec158fa38a8 (diff)
Partition: pass ReplayGainConfig to constructor
Diffstat (limited to 'src/Partition.cxx')
-rw-r--r--src/Partition.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Partition.cxx b/src/Partition.cxx
index 309d5e4fd..8a55e7d28 100644
--- a/src/Partition.cxx
+++ b/src/Partition.cxx
@@ -23,12 +23,12 @@
#include "DetachedSong.hxx"
#include "mixer/Volume.hxx"
#include "IdleFlags.hxx"
-#include "ReplayGainGlobal.hxx"
Partition::Partition(Instance &_instance,
unsigned max_length,
unsigned buffer_chunks,
- unsigned buffered_before_play)
+ unsigned buffered_before_play,
+ const ReplayGainConfig &replay_gain_config)
:instance(_instance),
global_events(instance.event_loop, BIND_THIS_METHOD(OnGlobalEvent)),
playlist(max_length, *this),