From 476af651fc34d7c6394fea0e39d351392b4e46d3 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sat, 20 Oct 2012 15:40:46 +0100 Subject: Stuff. --- src/lib/decoder.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/lib/decoder.h') diff --git a/src/lib/decoder.h b/src/lib/decoder.h index 312cbbe8e..88dd90f0c 100644 --- a/src/lib/decoder.h +++ b/src/lib/decoder.h @@ -100,10 +100,10 @@ public: sigc::signal, int, boost::shared_ptr > Video; /** Emitted when some audio data is ready. - * First parameter is the interleaved sample data, format is given in the FilmState. - * Second parameter is the size of the data. + * First parameter is an array of pointers to deinterleaved, floating point sample data for each channel. + * Second parameter is the size of the data in frames (ie samples on each channel). */ - sigc::signal Audio; + sigc::signal Audio; protected: /** perform a single pass at our content */ @@ -137,6 +137,7 @@ protected: private: void setup_video_filters (); + void emit_audio (uint8_t* data, int size); /** last video frame to be processed */ int _video_frame; -- cgit v1.2.3