X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsndfile_decoder.h;h=77fa6d17734da4096757dae504a759c9925e0e8b;hb=6de3f68aa2bec3f8a1c35a587f56fdee5e105ed3;hp=1dc484fdc92bf2bef5a80717951c6a17ca9cbdf0;hpb=8c6fe8e1e8c8f6d5932606f2a5b6e1b87681ae38;p=dcpomatic.git diff --git a/src/lib/sndfile_decoder.h b/src/lib/sndfile_decoder.h index 1dc484fdc..77fa6d177 100644 --- a/src/lib/sndfile_decoder.h +++ b/src/lib/sndfile_decoder.h @@ -30,17 +30,17 @@ public: ~SndfileDecoder (); void pass (); - Time next () const; + bool done () const; int audio_channels () const; - ContentAudioFrame audio_length () const; + AudioContent::Frame audio_length () const; int audio_frame_rate () const; private: boost::shared_ptr _sndfile_content; SNDFILE* _sndfile; SF_INFO _info; - ContentAudioFrame _done; - ContentAudioFrame _remaining; + AudioContent::Frame _done; + AudioContent::Frame _remaining; float* _deinterleave_buffer; };