diff options
author | Sakari Bergen <sakari.bergen@beatwaves.net> | 2009-12-27 22:09:40 +0000 |
---|---|---|
committer | Sakari Bergen <sakari.bergen@beatwaves.net> | 2009-12-27 22:09:40 +0000 |
commit | 8da27200d18fe4c471a759dde8e10d85ff29d277 (patch) | |
tree | 8a68123da7cb8539a9818704363e3fd98da4d385 /libs/ardour/ardour/export_graph_builder.h | |
parent | dde0848a984e06cbc1d4117d9cffa75c191f3b39 (diff) |
- Fix process callbakc handling during export
- Fix filename handling when exporting multiple files
- Some updates to audiographer
git-svn-id: svn://localhost/ardour2/branches/3.0@6402 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/export_graph_builder.h')
-rw-r--r-- | libs/ardour/ardour/export_graph_builder.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libs/ardour/ardour/export_graph_builder.h b/libs/ardour/ardour/export_graph_builder.h index 1244afd647..2f57aaf583 100644 --- a/libs/ardour/ardour/export_graph_builder.h +++ b/libs/ardour/ardour/export_graph_builder.h @@ -62,6 +62,7 @@ class ExportGraphBuilder ~ExportGraphBuilder (); int process (nframes_t frames, bool last_cycle); + bool process_normalize (); // returns true when finished void reset (); void add_config (FileSpec const & config); @@ -124,6 +125,9 @@ class ExportGraphBuilder void add_child (FileSpec const & new_config); bool operator== (FileSpec const & other_config) const; + /// Returns true when finished + bool process (); + private: typedef boost::shared_ptr<AudioGrapher::PeakReader> PeakReaderPtr; typedef boost::shared_ptr<AudioGrapher::Normalizer> NormalizerPtr; @@ -132,7 +136,6 @@ class ExportGraphBuilder typedef boost::shared_ptr<AudioGrapher::AllocatingProcessContext<Sample> > BufferPtr; void start_post_processing(); - void do_post_processing(); ExportGraphBuilder & parent; @@ -217,6 +220,8 @@ class ExportGraphBuilder Sample * process_buffer; nframes_t process_buffer_frames; + std::list<Normalizer *> normalizers; + Glib::ThreadPool thread_pool; }; |