diff options
Diffstat (limited to 'src/lib/sndfile_content.h')
| -rw-r--r-- | src/lib/sndfile_content.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/sndfile_content.h b/src/lib/sndfile_content.h index e8e86b603..0623aa6f0 100644 --- a/src/lib/sndfile_content.h +++ b/src/lib/sndfile_content.h @@ -41,6 +41,7 @@ public: std::string information () const; void as_xml (xmlpp::Node *) const; boost::shared_ptr<Content> clone () const; + Time length (boost::shared_ptr<const Film>) const; /* AudioContent */ int audio_channels () const { @@ -53,10 +54,12 @@ public: return _audio_length; } - int audio_frame_rate () const { + int content_audio_frame_rate () const { boost::mutex::scoped_lock lm (_mutex); return _audio_frame_rate; } + + int output_audio_frame_rate (boost::shared_ptr<const Film>) const; static bool valid_file (boost::filesystem::path); |
