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