Compiles; strange hang on adding content to a film.
[dcpomatic.git] / src / lib / sndfile_content.h
index e8e86b60386bc505f7db64e8295181f9f9bca34c..0623aa6f054748f9f56cada8573b736a7ce30e79 100644 (file)
@@ -41,6 +41,7 @@ public:
        std::string information () const;
        void as_xml (xmlpp::Node *) const;
        boost::shared_ptr<Content> clone () const;
+       Time length (boost::shared_ptr<const Film>) const;
 
         /* AudioContent */
         int audio_channels () const {
@@ -53,10 +54,12 @@ public:
                return _audio_length;
        }
        
-        int audio_frame_rate () const {
+        int content_audio_frame_rate () const {
                boost::mutex::scoped_lock lm (_mutex);
                return _audio_frame_rate;
        }
+
+        int output_audio_frame_rate (boost::shared_ptr<const Film>) const;
        
        static bool valid_file (boost::filesystem::path);