summaryrefslogtreecommitdiff
path: root/src/lib/decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2012-11-04 19:40:33 +0000
committerCarl Hetherington <cth@carlh.net>2012-11-04 19:40:33 +0000
commitc2dc03da9cc94fd9bd7e530363b113564237f00e (patch)
tree4c027ab8aa49214014af378f94082e0c6721d3bb /src/lib/decoder.h
parentc366d41af080b9ac37117a9b27a249722c77f74e (diff)
Do the delay line in floats with an AudioBuffer.
Diffstat (limited to 'src/lib/decoder.h')
-rw-r--r--src/lib/decoder.h4
1 files changed, 2 insertions, 2 deletions
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<AudioBuffers>);
/** last video frame to be processed */
int _video_frame_index;
@@ -140,7 +140,7 @@ private:
std::list<boost::shared_ptr<FilterGraph> > _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).