diff options
author | David Robillard <d@drobilla.net> | 2007-04-09 02:05:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-04-09 02:05:44 +0000 |
commit | ccb22e332e033e23d6dd6d4f144f429f95c1a547 (patch) | |
tree | e5c0575f19ddf1f1102689223e17810a4c3c0fd6 /src/libs | |
parent | 6eec851cda92e1030173dbfd613c44883ced6816 (diff) | |
download | ingen-ccb22e332e033e23d6dd6d4f144f429f95c1a547.tar.gz ingen-ccb22e332e033e23d6dd6d4f144f429f95c1a547.tar.bz2 ingen-ccb22e332e033e23d6dd6d4f144f429f95c1a547.zip |
Bugfixes.
git-svn-id: http://svn.drobilla.net/lad/ingen@430 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs')
-rw-r--r-- | src/libs/engine/InputPort.cpp | 6 |
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); |