X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_decoder.h;h=750ecd360aa67b705e5b54d730a222ef8fe15455;hb=5e4f001bf32e3cdf65efa34803d70e6c1c00c66b;hp=c83c356b7488c157dc85a6cd589dc7f256d029d5;hpb=ee77b3cf5f59f775e75e628aa28e8f2f9f941530;p=dcpomatic.git diff --git a/src/lib/audio_decoder.h b/src/lib/audio_decoder.h index c83c356b7..750ecd360 100644 --- a/src/lib/audio_decoder.h +++ b/src/lib/audio_decoder.h @@ -57,12 +57,19 @@ protected: void seek (ContentTime time, bool accurate); void audio (boost::shared_ptr, ContentTime); void flush (); + void reset_decoded_audio (); + void add (boost::shared_ptr); boost::shared_ptr _audio_content; boost::shared_ptr _resampler; + boost::shared_ptr _processor; boost::optional _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 _seek_reference; }; #endif