FFmpegContent does not need audio_length().
[dcpomatic.git] / src / lib / audio_content.h
index 540839d695241be94e769bb6e42218b4128e3d50..85728922ac98661c90af0496c56915259008c421 100644 (file)
@@ -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<const Film>);
        AudioContent (boost::shared_ptr<const Film>, DCPTime);
        AudioContent (boost::shared_ptr<const Film>, 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 */