summaryrefslogtreecommitdiffstats
path: root/src/engine/PortImpl.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-22 23:31:46 +0000
committerDavid Robillard <d@drobilla.net>2008-11-22 23:31:46 +0000
commit9845c8616439e9c284b9d82b9ed17296dacaaa4e (patch)
treedbdc41c05d74c8b8c031fa040a4f9c98d8e66f97 /src/engine/PortImpl.cpp
parentfb87e81926cc0487b5f0e165806a7cc95053635e (diff)
downloadingen-9845c8616439e9c284b9d82b9ed17296dacaaa4e.tar.gz
ingen-9845c8616439e9c284b9d82b9ed17296dacaaa4e.tar.bz2
ingen-9845c8616439e9c284b9d82b9ed17296dacaaa4e.zip
Minor cleanup.
Don't initialize buffers twice on port creation (speed up node creation a bit). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1773 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/PortImpl.cpp')
-rw-r--r--src/engine/PortImpl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/engine/PortImpl.cpp b/src/engine/PortImpl.cpp
index 1a1fd9c0..b8c77f43 100644
--- a/src/engine/PortImpl.cpp
+++ b/src/engine/PortImpl.cpp
@@ -57,7 +57,6 @@ PortImpl::PortImpl(NodeImpl* const node,
assert(_poly > 0);
allocate_buffers();
- clear_buffers();
if (node->parent() == NULL)
_polyphonic = false;