diff options
Diffstat (limited to 'src/server/PatchImpl.cpp')
-rw-r--r-- | src/server/PatchImpl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/PatchImpl.cpp b/src/server/PatchImpl.cpp index b6956baa..f43abf39 100644 --- a/src/server/PatchImpl.cpp +++ b/src/server/PatchImpl.cpp @@ -356,7 +356,7 @@ PatchImpl::create_port(BufferFactory& bufs, Raul::Atom value; if (type == PortType::CONTROL || type == PortType::CV) - value = 0.0f; + value = bufs.forge().make(0.0f); return new DuplexPort(bufs, this, name, num_ports(), polyphonic, _polyphony, type, value, buffer_size, is_output); |