From 4c299323440923891b9c583a354116000eb143cc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 11 Mar 2012 05:22:08 +0000 Subject: Implement cv:CVPort (fix #790). Not well-tested, but at least works somewhat. Use new style LV2 URI defines (and fix invalid atom URIs). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4050 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/InputPort.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/InputPort.cpp') 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); } -- cgit v1.2.1