summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/InputPort.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2007-07-04 02:07:46 +0000
committerDavid Robillard <d@drobilla.net>2007-07-04 02:07:46 +0000
commit7c7e747f79d5073890ce37b761c3945ae97b8f18 (patch)
treef44d17ecf041144d2fd995d4ba35e2d04ba70363 /src/libs/engine/InputPort.cpp
parentb7c5e24f4a10558942cde30c3cc4eb995846df3d (diff)
downloadingen-7c7e747f79d5073890ce37b761c3945ae97b8f18.tar.gz
ingen-7c7e747f79d5073890ce37b761c3945ae97b8f18.tar.bz2
ingen-7c7e747f79d5073890ce37b761c3945ae97b8f18.zip
Fix MIDI control and trigger nodes.
git-svn-id: http://svn.drobilla.net/lad/ingen@568 a436a847-0d15-0410-975c-d299462d15a1
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