aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_output.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_output.cxx')
-rw-r--r--test/run_output.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/run_output.cxx b/test/run_output.cxx
index fca5146df..15383fd2a 100644
--- a/test/run_output.cxx
+++ b/test/run_output.cxx
@@ -53,10 +53,11 @@ filter_plugin_by_name(gcc_unused const char *name)
return NULL;
}
-PlayerControl::PlayerControl(gcc_unused MultipleOutputs &_outputs,
+PlayerControl::PlayerControl(PlayerListener &_listener,
+ MultipleOutputs &_outputs,
gcc_unused unsigned _buffer_chunks,
gcc_unused unsigned _buffered_before_play)
- :outputs(_outputs) {}
+ :listener(_listener), outputs(_outputs) {}
PlayerControl::~PlayerControl() {}
static AudioOutput *
@@ -69,7 +70,8 @@ load_audio_output(EventLoop &event_loop, const char *name)
return nullptr;
}
- static struct PlayerControl dummy_player_control(*(MultipleOutputs *)nullptr,
+ static struct PlayerControl dummy_player_control(*(PlayerListener *)nullptr,
+ *(MultipleOutputs *)nullptr,
32, 4);
Error error;