Partition: pass ReplayGainConfig to constructor

This commit is contained in:
Max Kellermann
2016-12-03 13:14:06 +01:00
parent cd4bb444ff
commit fc30e1d559
3 changed files with 6 additions and 4 deletions

View File

@@ -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),