From 050def448a88bd6eafb8453d5cf60f761c06b46b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 20 Apr 2011 01:15:09 +0000 Subject: Simplify disconnect code. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3177 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/InputPort.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/engine/InputPort.cpp') diff --git a/src/engine/InputPort.cpp b/src/engine/InputPort.cpp index 03855275..80058632 100644 --- a/src/engine/InputPort.cpp +++ b/src/engine/InputPort.cpp @@ -75,7 +75,9 @@ InputPort::apply_poly(Maid& maid, uint32_t poly) * \return true iff buffers are locally owned by the port */ bool -InputPort::get_buffers(BufferFactory& bufs, Raul::Array* buffers, uint32_t poly) +InputPort::get_buffers(BufferFactory& bufs, + Raul::Array* buffers, + uint32_t poly) { size_t num_connections = (ThreadManager::thread_is(THREAD_PROCESS)) ? _connections.size() : _num_connections; -- cgit v1.2.1