summaryrefslogtreecommitdiff
path: root/src/lib/audio_decoder.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2013-07-11 13:12:43 +0100
committerCarl Hetherington <cth@carlh.net>2013-07-11 13:12:43 +0100
commitbb917533ad5beaded24ed56c7c4dc71d50e76263 (patch)
tree3b737fa8110c8113e8ae644568d307700c0eefb9 /src/lib/audio_decoder.h
parent49deab5be257f3a11f5b053224f4a3218fad8da3 (diff)
Untested audio delay.
Diffstat (limited to 'src/lib/audio_decoder.h')
-rw-r--r--src/lib/audio_decoder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h
index ddfb296c9..a7849b9cc 100644
--- a/src/lib/audio_decoder.h
+++ b/src/lib/audio_decoder.h
@@ -35,7 +35,7 @@ class AudioBuffers;
class AudioDecoder : public virtual Decoder
{
public:
- AudioDecoder (boost::shared_ptr<const Film>);
+ AudioDecoder (boost::shared_ptr<const Film>, boost::shared_ptr<const AudioContent>);
/** Emitted when some audio data is ready */
boost::signals2::signal<void (boost::shared_ptr<const AudioBuffers>, AudioContent::Frame)> Audio;
@@ -44,6 +44,9 @@ protected:
void audio (boost::shared_ptr<const AudioBuffers>, AudioContent::Frame);
AudioContent::Frame _audio_position;
+
+private:
+ AudioContent::Frame _delay_frames;
};
#endif