X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_content.h;h=504c2aecfffde3b2719eff1789babcd3639a010a;hb=6b2c68525a3e8a6ea2152ba966f2ca1d861fed35;hp=a1f5ba8a0aecbe05b8c6d6b450fdb54dfbe15f80;hpb=6199e090dc1e32d3753ba7e7d7ea8c5f0d79f046;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);