diff options
| author | Carl Hetherington <cth@carlh.net> | 2012-11-04 19:40:33 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2012-11-04 19:40:33 +0000 |
| commit | c2dc03da9cc94fd9bd7e530363b113564237f00e (patch) | |
| tree | 4c027ab8aa49214014af378f94082e0c6721d3bb /src/lib/decoder.h | |
| parent | c366d41af080b9ac37117a9b27a249722c77f74e (diff) | |
Do the delay line in floats with an AudioBuffer.
Diffstat (limited to 'src/lib/decoder.h')
| -rw-r--r-- | src/lib/decoder.h | 4 |
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). |
