From 52e49500bb78974d43bdfd30b2ec9b2a4522dd25 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 26 Feb 2010 01:39:16 +0000 Subject: Perform all mixing for an audio input in a single mix operation (instead of a two step polyphony mixdown (by connections) and connections mixdown (by ports)). Speed up and inline AudioBuffer::accumulate, to speed up mix(). Remove local buffer from Connection (always mix into destination InputPort's buffers). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2494 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/DuplexPort.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine/DuplexPort.hpp') diff --git a/src/engine/DuplexPort.hpp b/src/engine/DuplexPort.hpp index aab33c33..ff375edd 100644 --- a/src/engine/DuplexPort.hpp +++ b/src/engine/DuplexPort.hpp @@ -52,7 +52,7 @@ public: virtual ~DuplexPort() {} - void get_buffers(BufferFactory& bufs, Raul::Array* buffers, uint32_t poly); + bool get_buffers(BufferFactory& bufs, Raul::Array* buffers, uint32_t poly); void pre_process(Context& context); void post_process(Context& context); -- cgit v1.2.1