From 2a9d933a81a6192f4d30cbf68253727f92f9bdac Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 4 Jan 2013 22:45:14 +0100 Subject: PlayerControl: add constructor and destructor --- test/run_output.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/run_output.cxx b/test/run_output.cxx index 18967ead2..e3d7163e3 100644 --- a/test/run_output.cxx +++ b/test/run_output.cxx @@ -98,6 +98,10 @@ find_named_config_block(const char *block, const char *name) return NULL; } +player_control::player_control(gcc_unused unsigned _buffer_chunks, + gcc_unused unsigned _buffered_before_play) {} +player_control::~player_control() {} + static struct audio_output * load_audio_output(const char *name) { @@ -110,7 +114,7 @@ load_audio_output(const char *name) return nullptr; } - static struct player_control dummy_player_control; + static struct player_control dummy_player_control(32, 4); struct audio_output *ao = audio_output_new(param, &dummy_player_control, &error); -- cgit v1.2.3