improve AU Latency PropertyChange Events
[ardour.git] / libs / ardour / ardour / export_graph_builder.h
index cee98ed7be961b7d805cda97ba96e521b5d14da9..b692b03b3231f2e09b91ee1cabfce48e562f9870 100644 (file)
@@ -69,13 +69,14 @@ class LIBARDOUR_API ExportGraphBuilder
 
        int process (framecnt_t frames, bool last_cycle);
        bool process_normalize (); // returns true when finished
-       bool will_normalize() { return !normalizers.empty(); }
+       bool will_normalize() const { return !normalizers.empty(); }
+       bool realtime() const { return _realtime; }
        unsigned get_normalize_cycle_count() const;
 
        void reset ();
        void cleanup (bool remove_out_files = false);
        void set_current_timespan (boost::shared_ptr<ExportTimespan> span);
-       void add_config (FileSpec const & config);
+       void add_config (FileSpec const & config, bool rt);
        void get_analysis_results (AnalysisResults& results);
 
   private:
@@ -175,6 +176,7 @@ class LIBARDOUR_API ExportGraphBuilder
                FileSpec        config;
                framecnt_t      max_frames_out;
                bool            use_loudness;
+               bool            use_peak;
                BufferPtr       buffer;
                PeakReaderPtr   peak_reader;
                TmpFilePtr      tmp_file;
@@ -265,6 +267,8 @@ class LIBARDOUR_API ExportGraphBuilder
 
        AnalysisMap analysis_map;
 
+       bool _realtime;
+
        Glib::ThreadPool thread_pool;
 };