summaryrefslogtreecommitdiffstats
path: root/src/engine/InputPort.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-20 01:15:09 +0000
committerDavid Robillard <d@drobilla.net>2011-04-20 01:15:09 +0000
commit050def448a88bd6eafb8453d5cf60f761c06b46b (patch)
tree4b4c0bf5f6ca9c22c6f3556351126b3b05a26e1d /src/engine/InputPort.cpp
parent9e15d7859def446fb3f66f15d3ca1cd444bbf03e (diff)
downloadingen-050def448a88bd6eafb8453d5cf60f761c06b46b.tar.gz
ingen-050def448a88bd6eafb8453d5cf60f761c06b46b.tar.bz2
ingen-050def448a88bd6eafb8453d5cf60f761c06b46b.zip
Simplify disconnect code.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3177 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine/InputPort.cpp')
-rw-r--r--src/engine/InputPort.cpp4
1 files changed, 3 insertions, 1 deletions
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<BufferFactory::Ref>* buffers, uint32_t poly)
+InputPort::get_buffers(BufferFactory& bufs,
+ Raul::Array<BufferFactory::Ref>* buffers,
+ uint32_t poly)
{
size_t num_connections = (ThreadManager::thread_is(THREAD_PROCESS))
? _connections.size() : _num_connections;