summaryrefslogtreecommitdiffstats
path: root/src/engine/OutputPort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/OutputPort.cpp')
-rw-r--r--src/engine/OutputPort.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/engine/OutputPort.cpp b/src/engine/OutputPort.cpp
index 023d5a21..8f6b7751 100644
--- a/src/engine/OutputPort.cpp
+++ b/src/engine/OutputPort.cpp
@@ -47,18 +47,18 @@ OutputPort::OutputPort(NodeImpl* parent,
void
-OutputPort::pre_process(ProcessContext& context)
+OutputPort::pre_process(Context& context)
{
for (uint32_t i=0; i < _poly; ++i)
- buffer(i)->prepare_write(context.start(), context.nframes());
+ buffer(i)->prepare_write(context);
}
void
-OutputPort::post_process(ProcessContext& context)
+OutputPort::post_process(Context& context)
{
for (uint32_t i=0; i < _poly; ++i)
- buffer(i)->prepare_read(context.start(), context.nframes());
+ buffer(i)->prepare_read(context);
//cerr << path() << " output post: buffer: " << buffer(0) << endl;