projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add header guard.
[dcpomatic.git]
/
src
/
lib
/
sndfile_content.h
diff --git
a/src/lib/sndfile_content.h
b/src/lib/sndfile_content.h
index f5a2e38b1310a0fb8f4bac0ea7f3e4ebf4933a3a..9dcf954b5e55b09b9c6e1a088dd78a80f0d370f2 100644
(file)
--- 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"
#define DCPOMATIC_SNDFILE_CONTENT_H
#include "single_stream_audio_content.h"
-extern "C" {
-#include <libavutil/audioconvert.h>
-}
-
-namespace cxml {
- class Node;
-}
class SndfileContent : public SingleStreamAudioContent
{
class SndfileContent : public SingleStreamAudioContent
{
@@
-38,9
+31,9
@@
public:
boost::shared_ptr<SndfileContent> shared_from_this () {
return boost::dynamic_pointer_cast<SndfileContent> (Content::shared_from_this ());
}
boost::shared_ptr<SndfileContent> shared_from_this () {
return boost::dynamic_pointer_cast<SndfileContent> (Content::shared_from_this ());
}
-
+
DCPTime full_length () const;
DCPTime full_length () const;
-
+
void examine (boost::shared_ptr<Job>);
std::string summary () const;
std::string technical_summary () const;
void examine (boost::shared_ptr<Job>);
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<AudioExaminer>);
void as_xml (xmlpp::Node *) const;
void take_from_audio_examiner (boost::shared_ptr<AudioExaminer>);
-
+
static bool valid_file (boost::filesystem::path);
private:
static bool valid_file (boost::filesystem::path);
private:
@@
-56,7
+49,7
@@
private:
boost::mutex::scoped_lock lm (_mutex);
return _audio_length;
}
boost::mutex::scoped_lock lm (_mutex);
return _audio_length;
}
-
+
Frame _audio_length;
};
Frame _audio_length;
};