X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Faudio_content.h;h=85728922ac98661c90af0496c56915259008c421;hb=661de111c0dbc968ecb004eca5b26f8400b136f1;hp=57085a7651bcc285c9b32618cc768f36fc5cce33;hpb=946dbad9821e676f1d8fdc5abba459da54b8e84c;p=dcpomatic.git diff --git a/src/lib/audio_content.h b/src/lib/audio_content.h index 57085a765..85728922a 100644 --- a/src/lib/audio_content.h +++ b/src/lib/audio_content.h @@ -40,7 +40,6 @@ 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; @@ -54,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); @@ -67,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; @@ -98,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 */