Various fix-ups.
[dcpomatic.git] / src / lib / sndfile_decoder.h
index 9cbddc9f683f63e7d7d9ea9f75cba664c3ad3831..4ecea0846ef030ea22324c53e93d9be785958db6 100644 (file)
@@ -36,15 +36,15 @@ public:
        int audio_frame_rate () const;
 
 private:
-       bool has_audio () const {
-               return true;
+       ContentTime first_audio () const {
+               return 0;
        }
+
        bool pass ();
        
        boost::shared_ptr<const SndfileContent> _sndfile_content;
        SNDFILE* _sndfile;
        SF_INFO _info;
-       AudioFrame _done;
        AudioFrame _remaining;
        float* _deinterleave_buffer;
 };