summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/export_graph_builder.h
diff options
context:
space:
mode:
authorSakari Bergen <sakari.bergen@beatwaves.net>2012-06-24 19:45:20 +0000
committerSakari Bergen <sakari.bergen@beatwaves.net>2012-06-24 19:45:20 +0000
commitd54d26e822661e76a56fe7d8bb371f1b3944e066 (patch)
tree69b42772bf35150542e1c831e42ed0b0e517c445 /libs/ardour/ardour/export_graph_builder.h
parentaa76272ae789a1120478840f12be18585340cd6b (diff)
Inrease the export "chunk size" to speed it up over 10% at least in some situations
git-svn-id: svn://localhost/ardour2/branches/3.0@12919 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/export_graph_builder.h')
-rw-r--r--libs/ardour/ardour/export_graph_builder.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libs/ardour/ardour/export_graph_builder.h b/libs/ardour/ardour/export_graph_builder.h
index f565fd4134..07e866475a 100644
--- a/libs/ardour/ardour/export_graph_builder.h
+++ b/libs/ardour/ardour/export_graph_builder.h
@@ -32,6 +32,7 @@ namespace AudioGrapher {
class SampleRateConverter;
class PeakReader;
class Normalizer;
+ template <typename T> class Chunker;
template <typename T> class SampleFormatConverter;
template <typename T> class Interleaver;
template <typename T> class SndfileWriter;
@@ -209,12 +210,14 @@ class ExportGraphBuilder
private:
typedef boost::shared_ptr<AudioGrapher::Interleaver<Sample> > InterleaverPtr;
+ typedef boost::shared_ptr<AudioGrapher::Chunker<Sample> > ChunkerPtr;
ExportGraphBuilder & parent;
FileSpec config;
boost::ptr_list<SilenceHandler> children;
InterleaverPtr interleaver;
- framecnt_t max_frames;
+ ChunkerPtr chunker;
+ framecnt_t max_frames_out;
};
Session const & session;