summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/DuplexPort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/DuplexPort.cpp')
-rw-r--r--src/libs/engine/DuplexPort.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/engine/DuplexPort.cpp b/src/libs/engine/DuplexPort.cpp
index 71a65e4f..31bfbe09 100644
--- a/src/libs/engine/DuplexPort.cpp
+++ b/src/libs/engine/DuplexPort.cpp
@@ -61,12 +61,12 @@ DuplexPort::pre_process(ProcessContext& context)
for (uint32_t i=0; i < _poly; ++i)
if (!_buffers->at(i)->is_joined())
- _buffers->at(i)->prepare_write(context.nframes());
+ _buffers->at(i)->prepare_write(context.start(), context.nframes());
} else {
for (uint32_t i=0; i < _poly; ++i)
- _buffers->at(i)->prepare_read(context.nframes());
+ _buffers->at(i)->prepare_read(context.start(), context.nframes());
broadcast(context);
}