From 7f748d6f5d25d81a7703fa5f3e4c6015ab40a0c5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 26 Feb 2010 04:29:58 +0000 Subject: Tinker subpatch polyphony logic. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2499 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/PatchImpl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine') 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::iterator i = _output_ports.begin(); i != _output_ports.end(); ++i) (*i)->setup_buffers(bufs, polyphonic ? poly : 1); -- cgit v1.2.1