summaryrefslogtreecommitdiffstats
path: root/src/engine/DuplexPort.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-10-13 01:59:53 +0000
committerDavid Robillard <d@drobilla.net>2008-10-13 01:59:53 +0000
commitb2d51e16571190becea1476080cff1b0a258a4f6 (patch)
tree14fc29ec1408a43b3a9688cc09aec8733f3d3d54 /src/engine/DuplexPort.cpp
parentef8f39fedbd51f414f19d1282b21ea4de46cf449 (diff)
downloadingen-b2d51e16571190becea1476080cff1b0a258a4f6.tar.gz
ingen-b2d51e16571190becea1476080cff1b0a258a4f6.tar.bz2
ingen-b2d51e16571190becea1476080cff1b0a258a4f6.zip
Fix various problems with subpatch connecting/disconnecting (and probably introduce new ones).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1668 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/DuplexPort.cpp')
-rw-r--r--src/engine/DuplexPort.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/engine/DuplexPort.cpp b/src/engine/DuplexPort.cpp
index 31bfbe09..5f5b8606 100644
--- a/src/engine/DuplexPort.cpp
+++ b/src/engine/DuplexPort.cpp
@@ -38,6 +38,7 @@ DuplexPort::DuplexPort(NodeImpl* parent, const string& name, uint32_t index, uin
, _is_output(is_output)
{
assert(PortImpl::_parent == parent);
+ _fixed_buffers = true;
}
@@ -57,6 +58,9 @@ DuplexPort::pre_process(ProcessContext& context)
<< ((EventBuffer*)buffer(i))->event_count()
<< ", joined: " << _buffers->at(i)->is_joined() << endl;*/
+ for (Connections::iterator c = _connections.begin(); c != _connections.end(); ++c)
+ (*c)->process(context);
+
if (_is_output) {
for (uint32_t i=0; i < _poly; ++i)