From 821b556975c44bcb2c8607fc26462b7b79db2fe6 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Fri, 3 Jan 2014 00:47:32 +0000 Subject: Various fix-ups. --- src/lib/audio_decoder.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/lib/audio_decoder.h') diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h index a295df0cc..12f8505f6 100644 --- a/src/lib/audio_decoder.h +++ b/src/lib/audio_decoder.h @@ -44,15 +44,17 @@ public: return _audio_content; } + void seek (ContentTime time, bool accurate); + protected: - void audio (boost::shared_ptr, ContentTime); + virtual ContentTime first_audio () const = 0; + void audio (boost::shared_ptr); void flush (); boost::shared_ptr _audio_content; boost::shared_ptr _resampler; - /* End time of last audio that we wrote to _pending; only used for flushing the resampler */ - ContentTime _last_audio; + AudioFrame _audio_position; }; #endif -- cgit v1.2.3