diff options
Diffstat (limited to 'src/server')
-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(); |