diff options
author | David Robillard <d@drobilla.net> | 2007-07-04 02:07:46 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-07-04 02:07:46 +0000 |
commit | 7c7e747f79d5073890ce37b761c3945ae97b8f18 (patch) | |
tree | f44d17ecf041144d2fd995d4ba35e2d04ba70363 /src/libs/engine/InputPort.cpp | |
parent | b7c5e24f4a10558942cde30c3cc4eb995846df3d (diff) | |
download | ingen-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.cpp | 8 |
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 |