diff options
author | Robin Gareus <robin@gareus.org> | 2016-07-15 17:04:34 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-07-16 02:14:18 +0200 |
commit | f8a6213454c7a0a80114ffa01c8ce432b19f4617 (patch) | |
tree | abb6495cee04d9d755fbdf29b051a2600e2e7b1a /libs/ardour/ardour/export_graph_builder.h | |
parent | 77687519b69f39aaa2354f4c9945958fc1c630fe (diff) |
libardour support for timespan realtime export
Diffstat (limited to 'libs/ardour/ardour/export_graph_builder.h')
-rw-r--r-- | libs/ardour/ardour/export_graph_builder.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libs/ardour/ardour/export_graph_builder.h b/libs/ardour/ardour/export_graph_builder.h index cee98ed7be..b692b03b32 100644 --- a/libs/ardour/ardour/export_graph_builder.h +++ b/libs/ardour/ardour/export_graph_builder.h @@ -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; }; |