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

@@ -55,7 +55,8 @@ struct Partition final : QueueListener, PlayerListener, MixerListener {
Partition(Instance &_instance,
unsigned max_length,
unsigned buffer_chunks,
unsigned buffered_before_play);
unsigned buffered_before_play,
const ReplayGainConfig &replay_gain_config);
void EmitGlobalEvent(unsigned mask) {
global_events.OrMask(mask);