diff options
author | David Robillard <d@drobilla.net> | 2012-08-11 02:13:56 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-08-11 02:13:56 +0000 |
commit | 571cbb33901b2a6b6fbc6f311723bc9bc561e731 (patch) | |
tree | 90c1731c8aea550277cf5b83b3429502a7fb3040 /src/server/InputPort.cpp | |
parent | 46eff0830c8894997fb624733fadcea9c6d74812 (diff) | |
download | ingen-571cbb33901b2a6b6fbc6f311723bc9bc561e731.tar.gz ingen-571cbb33901b2a6b6fbc6f311723bc9bc561e731.tar.bz2 ingen-571cbb33901b2a6b6fbc6f311723bc9bc561e731.zip |
Vectorizable (by GCC with -ftree-vectorize) mixing and Buffer::set_block().
Custom SSE accelerated peak detection when SSE is available at compile time.
Less mixing overhead in general.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4651 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/InputPort.cpp')
-rw-r--r-- | src/server/InputPort.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/server/InputPort.cpp b/src/server/InputPort.cpp index 901a409a..0ded3e5b 100644 --- a/src/server/InputPort.cpp +++ b/src/server/InputPort.cpp @@ -17,6 +17,7 @@ #include <cstdlib> #include <cassert> +#include "Buffer.hpp" #include "BufferFactory.hpp" #include "EdgeImpl.hpp" #include "Engine.hpp" @@ -194,7 +195,7 @@ InputPort::pre_process(Context& context) e->get_sources(context, v, srcs, max_num_srcs, num_srcs); } - mix(context, bufs().uris(), buffer(v).get(), srcs, num_srcs); + mix(context, buffer(v).get(), srcs, num_srcs); } } |