summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-11-17 00:27:23 +0000
committerDavid Robillard <d@drobilla.net>2008-11-17 00:27:23 +0000
commit84f17a6e47b09b2f4c38674e9af668d4a6002c4d (patch)
tree5b682db52fc839a393a1544bcec4ad3d85eb1b62 /src/engine
parent379b728ee04997f735df472576066a3b070c8680 (diff)
downloadingen-84f17a6e47b09b2f4c38674e9af668d4a6002c4d.tar.gz
ingen-84f17a6e47b09b2f4c38674e9af668d4a6002c4d.tar.bz2
ingen-84f17a6e47b09b2f4c38674e9af668d4a6002c4d.zip
Mix down subpatch inputs when necessary (fix ticket #246).
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1745 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/DuplexPort.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/engine/DuplexPort.cpp b/src/engine/DuplexPort.cpp
index 5f5b8606..84d53be6 100644
--- a/src/engine/DuplexPort.cpp
+++ b/src/engine/DuplexPort.cpp
@@ -69,6 +69,8 @@ DuplexPort::pre_process(ProcessContext& context)
} else {
+ InputPort::pre_process(context);
+
for (uint32_t i=0; i < _poly; ++i)
_buffers->at(i)->prepare_read(context.start(), context.nframes());