X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_content.h;h=85728922ac98661c90af0496c56915259008c421;hb=661de111c0dbc968ecb004eca5b26f8400b136f1;hp=540839d695241be94e769bb6e42218b4128e3d50;hpb=04eebe07e2f64bd15f6887a10ab51fb92c52901a;p=dcpomatic.git diff --git a/src/lib/audio_content.h b/src/lib/audio_content.h index 540839d69..85728922a 100644 --- a/src/lib/audio_content.h +++ b/src/lib/audio_content.h @@ -33,11 +33,13 @@ namespace cxml { class AudioProcessor; +/** @class AudioContentProperty + * @brief Names for properties of AudioContent. + */ class AudioContentProperty { public: static int const AUDIO_CHANNELS; - static int const AUDIO_LENGTH; static int const AUDIO_FRAME_RATE; static int const AUDIO_GAIN; static int const AUDIO_DELAY; @@ -51,8 +53,6 @@ public: class AudioContent : public virtual Content { public: - typedef int64_t Frame; - AudioContent (boost::shared_ptr); AudioContent (boost::shared_ptr, DCPTime); AudioContent (boost::shared_ptr, boost::filesystem::path); @@ -64,8 +64,6 @@ 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; /** @return the frame rate of the content */ virtual int audio_frame_rate () const = 0; virtual AudioMapping audio_mapping () const = 0; @@ -95,6 +93,8 @@ public: boost::mutex::scoped_lock lm (_mutex); return _audio_processor; } + + std::string processing_description () const; private: /** Gain to apply to audio in dB */