From 30a82076ba50a21c4df5fe4c46c8fc2ed25a7486 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 21 Feb 2014 08:55:52 +0100 Subject: PlayerListener: new interface to replace GlobalEvents access --- src/PlayerControl.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/PlayerControl.cxx') diff --git a/src/PlayerControl.cxx b/src/PlayerControl.cxx index bca3cc937..244b64f5c 100644 --- a/src/PlayerControl.cxx +++ b/src/PlayerControl.cxx @@ -26,10 +26,11 @@ #include -PlayerControl::PlayerControl(MultipleOutputs &_outputs, +PlayerControl::PlayerControl(PlayerListener &_listener, + MultipleOutputs &_outputs, unsigned _buffer_chunks, unsigned _buffered_before_play) - :outputs(_outputs), + :listener(_listener), outputs(_outputs), buffer_chunks(_buffer_chunks), buffered_before_play(_buffered_before_play), command(PlayerCommand::NONE), -- cgit v1.2.3