Merge master.
[dcpomatic.git] / src / lib / audio_decoder.h
index c83c356b7488c157dc85a6cd589dc7f256d029d5..045efc00207758d01cb56fce7996d685f1a1b458 100644 (file)
@@ -57,12 +57,18 @@ protected:
        void seek (ContentTime time, bool accurate);
        void audio (boost::shared_ptr<const AudioBuffers>, ContentTime);
        void flush ();
+       void reset_decoded_audio ();
 
        boost::shared_ptr<const AudioContent> _audio_content;
        boost::shared_ptr<Resampler> _resampler;
+       boost::shared_ptr<AudioProcessor> _processor;
        boost::optional<AudioFrame> _audio_position;
        /** Currently-available decoded audio data */
        ContentAudio _decoded_audio;
+       /** The time of an accurate seek after which we have not yet received any actual
+           data at the seek time.
+       */
+       boost::optional<ContentTime> _seek_reference;
 };
 
 #endif