X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsndfile_content.h;h=701ff16b24bd0dbbdf2d75e5708e2be3c7ce9e45;hb=98060a4e6f02b418f30b4b736e5880a357454c40;hp=27e0ca21d30a197f9e805cef6f3d7e2a7b5b0aab;hpb=38fda7888663429d452b9c71902e8bb5239dd720;p=dcpomatic.git diff --git a/src/lib/sndfile_content.h b/src/lib/sndfile_content.h index 27e0ca21d..701ff16b2 100644 --- a/src/lib/sndfile_content.h +++ b/src/lib/sndfile_content.h @@ -33,7 +33,7 @@ class SndfileContent : public AudioContent { public: SndfileContent (boost::shared_ptr, boost::filesystem::path); - SndfileContent (boost::shared_ptr, boost::shared_ptr); + SndfileContent (boost::shared_ptr, boost::shared_ptr, int); boost::shared_ptr shared_from_this () { return boost::dynamic_pointer_cast (Content::shared_from_this ()); @@ -44,7 +44,7 @@ public: std::string technical_summary () const; std::string information () const; void as_xml (xmlpp::Node *) const; - Time length () const; + Time full_length () const; /* AudioContent */ int audio_channels () const {