OutputAll: convert to class, move instance to class Partition

Another big chunk of code for multi-player support.
This commit is contained in:
Max Kellermann
2014-01-27 08:20:25 +01:00
parent 36bab6ef06
commit f5a923b9d1
26 changed files with 914 additions and 1007 deletions

View File

@@ -26,9 +26,11 @@
#include <assert.h>
PlayerControl::PlayerControl(unsigned _buffer_chunks,
PlayerControl::PlayerControl(MultipleOutputs &_outputs,
unsigned _buffer_chunks,
unsigned _buffered_before_play)
:buffer_chunks(_buffer_chunks),
:outputs(_outputs),
buffer_chunks(_buffer_chunks),
buffered_before_play(_buffered_before_play),
command(PlayerCommand::NONE),
state(PlayerState::STOP),