summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/InputPort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/InputPort.cpp')
-rw-r--r--src/libs/engine/InputPort.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libs/engine/InputPort.cpp b/src/libs/engine/InputPort.cpp
index bdc6162c..349175eb 100644
--- a/src/libs/engine/InputPort.cpp
+++ b/src/libs/engine/InputPort.cpp
@@ -221,6 +221,14 @@ InputPort::set_buffer_size(size_t size)
}
+void
+InputPort::post_process(SampleCount nframes, FrameTime start, FrameTime end)
+{
+ // Prepare for next cycle
+ for (size_t i=0; i < _poly; ++i)
+ _buffers.at(i)->prepare_write(nframes);
+}
+
} // namespace Ingen