diff options
author | Max Kellermann <max@duempel.org> | 2014-01-27 08:20:25 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-01-28 09:20:53 +0100 |
commit | f5a923b9d16e4c63942a033d1bdb2ab150aae342 (patch) | |
tree | 6e3c39b305fd2a1da2a7b9c2b79a6737ca21a23b /test/run_output.cxx | |
parent | 36bab6ef066c6898a791dd15054301f80757b3f6 (diff) | |
download | mpd-f5a923b9d16e4c63942a033d1bdb2ab150aae342.tar.gz mpd-f5a923b9d16e4c63942a033d1bdb2ab150aae342.tar.xz mpd-f5a923b9d16e4c63942a033d1bdb2ab150aae342.zip |
OutputAll: convert to class, move instance to class Partition
Another big chunk of code for multi-player support.
Diffstat (limited to '')
-rw-r--r-- | test/run_output.cxx | 9 |
1 files changed, 6 insertions, 3 deletions
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 = |