From a406d9183adc67075a4e802fd8254c2560df9964 Mon Sep 17 00:00:00 2001 From: Sakari Bergen Date: Sun, 16 Jan 2011 19:41:11 +0000 Subject: 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 --- libs/ardour/export_graph_builder.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libs/ardour/export_graph_builder.cc') 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 context(process_buffer, frames, 1); - if (last_cycle) { context.set_flag (ProcessContext::EndOfInput); } + ConstProcessContext context(process_buffer, frames, 1); + if (last_cycle) { context().set_flag (ProcessContext::EndOfInput); } it->second->process (context); } -- cgit v1.2.3