return _audio_content;
}
+ void seek (ContentTime time, bool accurate);
+
protected:
void audio (boost::shared_ptr<const AudioBuffers>, ContentTime);
boost::shared_ptr<const AudioContent> _audio_content;
boost::shared_ptr<Resampler> _resampler;
- /* End time of last audio that we wrote to _pending; only used for flushing the resampler */
- ContentTime _last_audio;
+ boost::optional<AudioFrame> _audio_position;
};
#endif