X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_content.h;h=504c2aecfffde3b2719eff1789babcd3639a010a;hb=351942d335db261ac6fe54f2f8a3f439fef22d47;hp=a1f5ba8a0aecbe05b8c6d6b450fdb54dfbe15f80;hpb=a69d242f3f00207d6ea7320e6723775f4b0dbfb3;p=dcpomatic.git diff --git a/src/lib/audio_content.h b/src/lib/audio_content.h index a1f5ba8a0..504c2aecf 100644 --- a/src/lib/audio_content.h +++ b/src/lib/audio_content.h @@ -52,8 +52,7 @@ public: AudioMapping mapping () const; void set_mapping (AudioMapping); - int resampled_frame_rate () const; - bool has_rate_above_48k () const; + int resampled_frame_rate (boost::shared_ptr film) const; std::vector channel_names () const; void set_gain (double); @@ -69,7 +68,7 @@ public: return _delay; } - std::string processing_description () const; + std::string processing_description (boost::shared_ptr film) const; std::vector streams () const { boost::mutex::scoped_lock lm (_mutex); @@ -81,7 +80,10 @@ public: void set_streams (std::vector streams); AudioStreamPtr stream () const; - void add_properties (std::list &) const; + void add_properties (boost::shared_ptr film, std::list &) const; + + void modify_position (boost::shared_ptr film, dcpomatic::DCPTime& pos) const; + void modify_trim_start (dcpomatic::ContentTime& pos) const; static boost::shared_ptr from_xml (Content* parent, cxml::ConstNodePtr, int version);