X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Fsndfile_content.h;h=9dcf954b5e55b09b9c6e1a088dd78a80f0d370f2;hb=d81a3176a39b92881f7c275eb4e6001f55baf3ea;hp=f5a2e38b1310a0fb8f4bac0ea7f3e4ebf4933a3a;hpb=0a93237cb5e4642d3b698ff9b7d0cfae5401478c;p=dcpomatic.git diff --git a/src/lib/sndfile_content.h b/src/lib/sndfile_content.h index f5a2e38b1..9dcf954b5 100644 --- a/src/lib/sndfile_content.h +++ b/src/lib/sndfile_content.h @@ -21,13 +21,6 @@ #define DCPOMATIC_SNDFILE_CONTENT_H #include "single_stream_audio_content.h" -extern "C" { -#include -} - -namespace cxml { - class Node; -} class SndfileContent : public SingleStreamAudioContent { @@ -38,9 +31,9 @@ public: boost::shared_ptr shared_from_this () { return boost::dynamic_pointer_cast (Content::shared_from_this ()); } - + DCPTime full_length () const; - + void examine (boost::shared_ptr); std::string summary () const; std::string technical_summary () const; @@ -48,7 +41,7 @@ public: void as_xml (xmlpp::Node *) const; void take_from_audio_examiner (boost::shared_ptr); - + static bool valid_file (boost::filesystem::path); private: @@ -56,7 +49,7 @@ private: boost::mutex::scoped_lock lm (_mutex); return _audio_length; } - + Frame _audio_length; };