summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/LADSPANode.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-21 03:27:16 +0000
committerDavid Robillard <d@drobilla.net>2006-06-21 03:27:16 +0000
commita603f4a917bd5a7d806ff8394e2bfbe0f64acc64 (patch)
treecb2fe94e1bb08c8d603918bf94d8ee362e98d4eb /src/libs/engine/LADSPANode.cpp
parent032d526710d174b30e0c9f33ff9f7e60e99fb172 (diff)
downloadingen-a603f4a917bd5a7d806ff8394e2bfbe0f64acc64.tar.gz
ingen-a603f4a917bd5a7d806ff8394e2bfbe0f64acc64.tar.bz2
ingen-a603f4a917bd5a7d806ff8394e2bfbe0f64acc64.zip
Got the audio flowing
git-svn-id: http://svn.drobilla.net/lad/grauph@70 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/libs/engine/LADSPANode.cpp')
-rw-r--r--src/libs/engine/LADSPANode.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libs/engine/LADSPANode.cpp b/src/libs/engine/LADSPANode.cpp
index 1c36177c..7d39399d 100644
--- a/src/libs/engine/LADSPANode.cpp
+++ b/src/libs/engine/LADSPANode.cpp
@@ -185,9 +185,8 @@ LADSPANode::set_port_buffer(size_t voice, size_t port_num, void* buf)
assert(voice < _poly);
// Could be a MIDI port after this
- if (port_num < _descriptor->PortCount) {
+ if (port_num < _descriptor->PortCount)
_descriptor->connect_port(_instances[voice], port_num, (sample*)buf);
- }
}
#if 0