summaryrefslogtreecommitdiffstats
path: root/src/server/PortImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-05-20 03:51:50 +0000
committerDavid Robillard <d@drobilla.net>2011-05-20 03:51:50 +0000
commitd700e9d8b26198d62807104d1517791dd992d149 (patch)
tree5aaf865bc38baf3e7812501b61701feb1b234934 /src/server/PortImpl.cpp
parent65f4c6021c03eb14084a1e6446185274fec751fe (diff)
downloadingen-d700e9d8b26198d62807104d1517791dd992d149.tar.gz
ingen-d700e9d8b26198d62807104d1517791dd992d149.tar.bz2
ingen-d700e9d8b26198d62807104d1517791dd992d149.zip
Correctly set initial value of control ports at creation time.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3297 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/PortImpl.cpp')
-rw-r--r--src/server/PortImpl.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index 6ccc4547..a448916e 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -74,8 +74,6 @@ 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()