X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Faudio_content.h;h=b109cc15e199b43b96f69626e062f5ea0b244287;hb=9a3df0a97b7962c00726447a75599e34c632cb2b;hp=a1f5ba8a0aecbe05b8c6d6b450fdb54dfbe15f80;hpb=a69d242f3f00207d6ea7320e6723775f4b0dbfb3;p=dcpomatic.git diff --git a/src/lib/audio_content.h b/src/lib/audio_content.h index a1f5ba8a0..b109cc15e 100644 --- a/src/lib/audio_content.h +++ b/src/lib/audio_content.h @@ -52,9 +52,8 @@ public: AudioMapping mapping () const; void set_mapping (AudioMapping); - int resampled_frame_rate () const; - bool has_rate_above_48k () const; - std::vector channel_names () const; + int resampled_frame_rate (boost::shared_ptr film) const; + std::vector channel_names () const; void set_gain (double); void set_delay (int); @@ -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);