Merge master.
[dcpomatic.git] / src / lib / sndfile_decoder.h
index 63f2f7dc49f7553b9c265732dc683f79c58c718d..46d9c5e5cf24762b5c2733e4f8c0be6c035a4d97 100644 (file)
@@ -32,19 +32,16 @@ public:
        void seek (ContentTime, bool);
 
        int audio_channels () const;
-       AudioContent::Frame audio_length () const;
+       AudioFrame audio_length () const;
        int audio_frame_rate () const;
 
 private:
-       bool has_audio () const {
-               return true;
-       }
        bool pass ();
        
        boost::shared_ptr<const SndfileContent> _sndfile_content;
        SNDFILE* _sndfile;
        SF_INFO _info;
-       AudioContent::Frame _done;
-       AudioContent::Frame _remaining;
+       AudioFrame _done;
+       AudioFrame _remaining;
        float* _deinterleave_buffer;
 };