summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2010-02-26 04:29:58 +0000
committerDavid Robillard <d@drobilla.net>2010-02-26 04:29:58 +0000
commit7f748d6f5d25d81a7703fa5f3e4c6015ab40a0c5 (patch)
treeadd60a95814f3d637125109a09a9e56fcf78d7db /src
parent52003d1c83421fe1cb6859df0e7a1db12daf7d76 (diff)
downloadingen-7f748d6f5d25d81a7703fa5f3e4c6015ab40a0c5.tar.gz
ingen-7f748d6f5d25d81a7703fa5f3e4c6015ab40a0c5.tar.bz2
ingen-7f748d6f5d25d81a7703fa5f3e4c6015ab40a0c5.zip
Tinker subpatch polyphony logic.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2499 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r--src/engine/PatchImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/PatchImpl.cpp b/src/engine/PatchImpl.cpp
index c5327e44..5d3b07a5 100644
--- a/src/engine/PatchImpl.cpp
+++ b/src/engine/PatchImpl.cpp
@@ -138,7 +138,7 @@ PatchImpl::apply_internal_poly(ProcessContext& context, BufferFactory& bufs, Rau
}
}
- const bool polyphonic = parent_patch() && (_internal_poly == parent_patch()->internal_poly());
+ const bool polyphonic = parent_patch() && (poly == parent_patch()->internal_poly());
for (List<PortImpl*>::iterator i = _output_ports.begin(); i != _output_ports.end(); ++i)
(*i)->setup_buffers(bufs, polyphonic ? poly : 1);