summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
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,