Time -> DCPTime.
[dcpomatic.git] / src / lib / sndfile_content.h
index e3b775e8bad9eda6674065ce0a903e22c3bf6259..c88764c1b22808e953d696d55f3cc50d2ce017de 100644 (file)
@@ -33,7 +33,7 @@ class SndfileContent : public AudioContent
 {
 public:
        SndfileContent (boost::shared_ptr<const Film>, boost::filesystem::path);
-       SndfileContent (boost::shared_ptr<const Film>, boost::shared_ptr<const cxml::Node>);
+       SndfileContent (boost::shared_ptr<const Film>, boost::shared_ptr<const cxml::Node>, int);
 
        boost::shared_ptr<SndfileContent> shared_from_this () {
                return boost::dynamic_pointer_cast<SndfileContent> (Content::shared_from_this ());
@@ -41,23 +41,23 @@ public:
        
        void examine (boost::shared_ptr<Job>);
        std::string summary () const;
+       std::string technical_summary () const;
        std::string information () const;
        void as_xml (xmlpp::Node *) const;
-       boost::shared_ptr<Content> clone () const;
-       Time length () const;
+       DCPTime full_length () const;
 
-        /* AudioContent */
-        int audio_channels () const {
+       /* AudioContent */
+       int audio_channels () const {
                boost::mutex::scoped_lock lm (_mutex);
                return _audio_channels;
        }
        
-        AudioContent::Frame audio_length () const {
+       AudioContent::Frame audio_length () const {
                boost::mutex::scoped_lock lm (_mutex);
                return _audio_length;
        }
        
-        int content_audio_frame_rate () const {
+       int content_audio_frame_rate () const {
                boost::mutex::scoped_lock lm (_mutex);
                return _audio_frame_rate;
        }