diff options
author | Sakari Bergen <sakari.bergen@beatwaves.net> | 2011-01-16 19:41:11 +0000 |
---|---|---|
committer | Sakari Bergen <sakari.bergen@beatwaves.net> | 2011-01-16 19:41:11 +0000 |
commit | a406d9183adc67075a4e802fd8254c2560df9964 (patch) | |
tree | 2bb5cfa9a25f5951e37a1a9e8c041cca6c960925 /libs/ardour/export_graph_builder.cc | |
parent | 113e6b505a27b3cbdb26f96b96c92cf35fe311dd (diff) |
Make stem export export from right before any processors.
The dialog does not support exporting from the outputs anymore, sorry. Will add options later...
git-svn-id: svn://localhost/ardour2/branches/3.0@8520 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/export_graph_builder.cc')
-rw-r--r-- | libs/ardour/export_graph_builder.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/export_graph_builder.cc b/libs/ardour/export_graph_builder.cc index d0ce883385..1180d5eace 100644 --- a/libs/ardour/export_graph_builder.cc +++ b/libs/ardour/export_graph_builder.cc @@ -42,10 +42,10 @@ ExportGraphBuilder::process (framecnt_t frames, bool last_cycle) assert(frames <= process_buffer_frames); for (ChannelMap::iterator it = channels.begin(); it != channels.end(); ++it) { - Sample * process_buffer = 0; + Sample const * process_buffer = 0; it->first->read (process_buffer, frames); - ProcessContext<Sample> context(process_buffer, frames, 1); - if (last_cycle) { context.set_flag (ProcessContext<Sample>::EndOfInput); } + ConstProcessContext<Sample> context(process_buffer, frames, 1); + if (last_cycle) { context().set_flag (ProcessContext<Sample>::EndOfInput); } it->second->process (context); } |