From c2dc03da9cc94fd9bd7e530363b113564237f00e Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 4 Nov 2012 19:40:33 +0000 Subject: Do the delay line in floats with an AudioBuffer. --- src/lib/decoder.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/decoder.h') diff --git a/src/lib/decoder.h b/src/lib/decoder.h index 6cd7757b6..9c7b2de38 100644 --- a/src/lib/decoder.h +++ b/src/lib/decoder.h @@ -132,7 +132,7 @@ protected: bool _ignore_length; private: - void emit_audio (uint8_t* data, int size); + void emit_audio (boost::shared_ptr); /** last video frame to be processed */ int _video_frame_index; @@ -140,7 +140,7 @@ private: std::list > _filter_graphs; DelayLine* _delay_line; - int _delay_in_bytes; + int _delay_in_frames; /* Number of audio frames that we have pushed to the encoder (at the DCP sample rate). -- cgit v1.2.3