summaryrefslogtreecommitdiffstats
path: root/src/server/PortImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-20 03:48:01 +0000
committerDavid Robillard <d@drobilla.net>2011-05-20 03:48:01 +0000
commit65f4c6021c03eb14084a1e6446185274fec751fe (patch)
treea952e0f3278f1e0af6262cea8fb7e931e0b88ff2 /src/server/PortImpl.cpp
parent4999a7199470ee751d710cfca2a39b4fdc561a82 (diff)
downloadingen-65f4c6021c03eb14084a1e6446185274fec751fe.tar.gz
ingen-65f4c6021c03eb14084a1e6446185274fec751fe.tar.bz2
ingen-65f4c6021c03eb14084a1e6446185274fec751fe.zip
Fix multiple put replies on port creation.
Include value in initial put response for control ports. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3296 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/PortImpl.cpp')
-rw-r--r--src/server/PortImpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index a448916e..6ccc4547 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -74,6 +74,8 @@ PortImpl::PortImpl(BufferFactory& bufs,
if (type == PortType::EVENTS)
_broadcast = true; // send activity blips
+ else if (type == PortType::CONTROL)
+ _value = Raul::Atom(0.0f);
}
PortImpl::~PortImpl()