X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_content.h;h=cb14c70cb4020058f8ec240e4d50a482158255dc;hb=387304bc9147933b68eda2b38ba8cac0d250e87e;hp=540839d695241be94e769bb6e42218b4128e3d50;hpb=cc27c2716f755305d67f1e1ba828ecf37f8405dd;p=dcpomatic.git diff --git a/src/lib/audio_content.h b/src/lib/audio_content.h index 540839d69..cb14c70cb 100644 --- a/src/lib/audio_content.h +++ b/src/lib/audio_content.h @@ -33,6 +33,9 @@ namespace cxml { class AudioProcessor; +/** @class AudioContentProperty + * @brief Names for properties of AudioContent. + */ class AudioContentProperty { public: @@ -65,7 +68,7 @@ public: /** @return number of audio channels in the content */ virtual int audio_channels () const = 0; /** @return the length of the audio in the content */ - virtual ContentTime audio_length () const = 0; + virtual Frame audio_length () const = 0; /** @return the frame rate of the content */ virtual int audio_frame_rate () const = 0; virtual AudioMapping audio_mapping () const = 0; @@ -95,6 +98,8 @@ public: boost::mutex::scoped_lock lm (_mutex); return _audio_processor; } + + std::string processing_description () const; private: /** Gain to apply to audio in dB */