summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2016-12-03 13:07:33 +0100
committerMax Kellermann <max@musicpd.org>2016-12-03 13:47:13 +0100
commitcd4bb444ff74b00a62c7653500aa0ec158fa38a8 (patch)
tree7cfff5f8627f11746ccd11ea45b67eeb291a9d08 /test
parente44351399690947856a13f8a909bfc6c36c6bafb (diff)
player/Control: make ReplayGainConfig const
Diffstat (limited to 'test')
-rw-r--r--test/run_output.cxx9
1 files changed, 6 insertions, 3 deletions
diff --git a/test/run_output.cxx b/test/run_output.cxx
index 5c09ca057..d79ec8ff1 100644
--- a/test/run_output.cxx
+++ b/test/run_output.cxx
@@ -53,10 +53,12 @@ filter_plugin_by_name(gcc_unused const char *name)
PlayerControl::PlayerControl(PlayerListener &_listener,
MultipleOutputs &_outputs,
unsigned _buffer_chunks,
- unsigned _buffered_before_play)
+ unsigned _buffered_before_play,
+ const ReplayGainConfig &_replay_gain_config)
:listener(_listener), outputs(_outputs),
buffer_chunks(_buffer_chunks),
- buffered_before_play(_buffered_before_play) {}
+ buffered_before_play(_buffered_before_play),
+ replay_gain_config(_replay_gain_config) {}
PlayerControl::~PlayerControl() {}
static AudioOutput *
@@ -70,7 +72,8 @@ load_audio_output(EventLoop &event_loop, const char *name)
static struct PlayerControl dummy_player_control(*(PlayerListener *)nullptr,
*(MultipleOutputs *)nullptr,
- 32, 4);
+ 32, 4,
+ ReplayGainConfig());
return audio_output_new(event_loop, ReplayGainConfig(), *param,
*(MixerListener *)nullptr,