From f982e4b62ebba89ead634169ebe4e281cc7df46a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 26 Feb 2010 02:23:52 +0000 Subject: Fix queued connections (e.g. event input => print). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2495 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/events/Connect.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/engine/events') diff --git a/src/engine/events/Connect.cpp b/src/engine/events/Connect.cpp index 5eefb181..51378ca1 100644 --- a/src/engine/events/Connect.cpp +++ b/src/engine/events/Connect.cpp @@ -135,7 +135,8 @@ Connect::pre_process() _patch->add_connection(_connection); _dst_input_port->increment_num_connections(); - if ((_dst_input_port->num_connections() == 1 && _connection->must_mix()) + if ((_dst_input_port->num_connections() == 1 + && (_connection->must_mix() || _connection->must_queue())) || _dst_input_port->num_connections() == 2) { _buffers = new Raul::Array(_dst_input_port->poly()); _dst_input_port->get_buffers(*_engine.buffer_factory(), -- cgit v1.2.1