summaryrefslogtreecommitdiffstats
path: root/src/server/InputPort.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/InputPort.cpp')
-rw-r--r--src/server/InputPort.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp
index 6a959ce9..ce0c6263 100644
--- a/src/server/InputPort.cpp
+++ b/src/server/InputPort.cpp
@@ -56,7 +56,7 @@ InputPort::InputPort(BufferFactory& bufs,
add_property(uris.rdf_type, uris.lv2_InputPort);
// Set default control range
- if (type == PortType::CONTROL) {
+ if (type == PortType::CONTROL || type == PortType::CV) {
set_property(uris.lv2_minimum, 0.0f);
set_property(uris.lv2_maximum, 1.0f);
}