Add a couple more audio properties.
[dcpomatic.git] / src / lib / audio_content.h
index 63ce3d0fa420f84048005d6ce52f5d624fb487da..95231a7d742382990057e0ddf644e76d693ae9ae 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2013-2015 Carl Hetherington <cth@carlh.net>
+    Copyright (C) 2013-2016 Carl Hetherington <cth@carlh.net>
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 #include "audio_stream.h"
 #include "audio_mapping.h"
 
-namespace cxml {
-       class Node;
-}
-
 /** @class AudioContentProperty
  *  @brief Names for properties of AudioContent.
  */
@@ -62,16 +58,13 @@ public:
 
        AudioMapping audio_mapping () const;
        void set_audio_mapping (AudioMapping);
-       boost::filesystem::path audio_analysis_path () const;
        int resampled_audio_frame_rate () const;
        bool has_rate_above_48k () const;
        std::vector<std::string> audio_channel_names () const;
 
-       boost::signals2::connection analyse_audio (boost::function<void()>);
-
        void set_audio_gain (double);
        void set_audio_delay (int);
-       
+
        double audio_gain () const {
                boost::mutex::scoped_lock lm (_mutex);
                return _audio_gain;
@@ -83,7 +76,11 @@ public:
        }
 
        std::string processing_description () const;
-       
+
+protected:
+
+       void add_properties (std::list<std::pair<std::string, std::string> > &) const;
+
 private:
        /** Gain to apply to audio in dB */
        double _audio_gain;