From f5a923b9d16e4c63942a033d1bdb2ab150aae342 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 27 Jan 2014 08:20:25 +0100 Subject: OutputAll: convert to class, move instance to class Partition Another big chunk of code for multi-player support. --- test/run_output.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'test/run_output.cxx') diff --git a/test/run_output.cxx b/test/run_output.cxx index 522db5e1e..fe377158d 100644 --- a/test/run_output.cxx +++ b/test/run_output.cxx @@ -74,8 +74,10 @@ find_named_config_block(ConfigOption option, const char *name) return NULL; } -PlayerControl::PlayerControl(gcc_unused unsigned _buffer_chunks, - gcc_unused unsigned _buffered_before_play) {} +PlayerControl::PlayerControl(gcc_unused MultipleOutputs &_outputs, + gcc_unused unsigned _buffer_chunks, + gcc_unused unsigned _buffered_before_play) + :outputs(_outputs) {} PlayerControl::~PlayerControl() {} static struct audio_output * @@ -89,7 +91,8 @@ load_audio_output(const char *name) return nullptr; } - static struct PlayerControl dummy_player_control(32, 4); + static struct PlayerControl dummy_player_control(*(MultipleOutputs *)nullptr, + 32, 4); Error error; struct audio_output *ao = -- cgit v1.2.3