summaryrefslogtreecommitdiff
path: root/libs/ardour/export_graph_builder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/export_graph_builder.cc')
-rw-r--r--libs/ardour/export_graph_builder.cc6
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);
}