summaryrefslogtreecommitdiffstats
path: root/src/server/PatchImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/PatchImpl.cpp')
-rw-r--r--src/server/PatchImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/PatchImpl.cpp b/src/server/PatchImpl.cpp
index 7dd960c4..b6956baa 100644
--- a/src/server/PatchImpl.cpp
+++ b/src/server/PatchImpl.cpp
@@ -355,7 +355,7 @@ PatchImpl::create_port(BufferFactory& bufs,
}
Raul::Atom value;
- if (type == PortType::CONTROL)
+ if (type == PortType::CONTROL || type == PortType::CV)
value = 0.0f;
return new DuplexPort(bufs, this, name, num_ports(), polyphonic, _polyphony,