Store audio length in AudioStream.
[dcpomatic.git] / src / lib / sndfile_content.h
index 73d02edec3f91a37c14a2f9f3dea1d8650583566..cdb842c042f471d234eb5df17ab543cb8b2be149 100644 (file)
@@ -43,14 +43,6 @@ public:
        void as_xml (xmlpp::Node *) const;
 
        static bool valid_file (boost::filesystem::path);
-
-private:
-       Frame audio_length () const {
-               boost::mutex::scoped_lock lm (_mutex);
-               return _audio_length;
-       }
-
-       Frame _audio_length;
 };
 
 #endif