diff options
author | David Robillard <d@drobilla.net> | 2012-05-13 23:14:26 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-05-13 23:14:26 +0000 |
commit | ffa63b0c1e769fae0af5e2bbbd822d1e8b206535 (patch) | |
tree | b4e1f4531f710fc1ecd088f11ab4631441c01e75 /src | |
parent | b731f5a51bbccdcc346add34eb6c04ac22941768 (diff) | |
download | ingen-ffa63b0c1e769fae0af5e2bbbd822d1e8b206535.tar.gz ingen-ffa63b0c1e769fae0af5e2bbbd822d1e8b206535.tar.bz2 ingen-ffa63b0c1e769fae0af5e2bbbd822d1e8b206535.zip |
Fix wonky conditional.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4398 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/server/LV2Node.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp index 3ecbb456..bde67190 100644 --- a/src/server/LV2Node.cpp +++ b/src/server/LV2Node.cpp @@ -96,7 +96,7 @@ LV2Node::prepare_poly(BufferFactory& bufs, uint32_t poly) PortImpl* const port = _ports->at(j); Buffer* const buffer = port->prepared_buffer(i).get(); if (buffer) { - if (port->is_a(PortType::CONTROL) || port->is_a(PortType::CONTROL)) { + if (port->is_a(PortType::CV) || port->is_a(PortType::CONTROL)) { ((AudioBuffer*)buffer)->set_value(port->value().get_float(), 0, 0); } else { buffer->clear(); |