X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fsndfile_content.h;h=191d625277307ea933fa13f1877ffa7494eab965;hb=a1b0ed4ac0753b420ce8ab8467165e220bdb4b05;hp=30eb23a4ed38e89bea2883274306647e9568d9a5;hpb=951a81dbb75db9850ee0226f74a575af7335a576;p=dcpomatic.git diff --git a/src/lib/sndfile_content.h b/src/lib/sndfile_content.h index 30eb23a4e..191d62527 100644 --- a/src/lib/sndfile_content.h +++ b/src/lib/sndfile_content.h @@ -17,6 +17,9 @@ */ +#ifndef DCPOMATIC_SNDFILE_CONTENT_H +#define DCPOMATIC_SNDFILE_CONTENT_H + extern "C" { #include } @@ -38,23 +41,23 @@ public: void examine (boost::shared_ptr); std::string summary () const; + std::string technical_summary () const; std::string information () const; void as_xml (xmlpp::Node *) const; - boost::shared_ptr clone () const; - Time length () const; + Time full_length () const; - /* AudioContent */ - int audio_channels () const { + /* AudioContent */ + int audio_channels () const { boost::mutex::scoped_lock lm (_mutex); return _audio_channels; } - ContentAudioFrame 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; } @@ -72,7 +75,9 @@ public: private: int _audio_channels; - ContentAudioFrame _audio_length; + AudioContent::Frame _audio_length; int _audio_frame_rate; AudioMapping _audio_mapping; }; + +#endif