summaryrefslogtreecommitdiffstats
path: root/src/libs/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine')
-rw-r--r--src/libs/engine/InputPort.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libs/engine/InputPort.cpp b/src/libs/engine/InputPort.cpp
index a0a65d79..bdc6162c 100644
--- a/src/libs/engine/InputPort.cpp
+++ b/src/libs/engine/InputPort.cpp
@@ -151,7 +151,11 @@ InputPort::pre_process(SampleCount nframes, FrameTime start, FrameTime end)
bool do_mixdown = true;
- if (_connections.size() == 0) return;
+ if (_connections.size() == 0) {
+ for (size_t i=0; i < _poly; ++i)
+ _buffers.at(i)->prepare_read(nframes);
+ return;
+ }
for (Connections::iterator c = _connections.begin(); c != _connections.end(); ++c)
(*c)->process(nframes, start, end);