X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_content.h;h=504c2aecfffde3b2719eff1789babcd3639a010a;hb=372555641062f5c7c6e4a1d5f67cfaf12a2c6799;hp=eec67b2010a29fd723e8a9c1fb0848e040e28008;hpb=e82a4c81fe8bb3c3c6b68c667bda2f32fed4e68d;p=dcpomatic.git diff --git a/src/lib/audio_content.h b/src/lib/audio_content.h index eec67b201..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,10 +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 (DCPTime& pos) const; - void modify_trim_start (ContentTime& pos) 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);