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/NodeImpl.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/NodeImpl.cpp')
-rw-r--r-- | src/server/NodeImpl.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/server/NodeImpl.cpp b/src/server/NodeImpl.cpp index 791396c1..bf17d325 100644 --- a/src/server/NodeImpl.cpp +++ b/src/server/NodeImpl.cpp @@ -19,7 +19,7 @@ #include "raul/Array.hpp" -#include "BufferFactory.hpp" +#include "Buffer.hpp" #include "Engine.hpp" #include "NodeImpl.hpp" #include "PatchImpl.hpp" @@ -155,7 +155,7 @@ NodeImpl::pre_process(ProcessContext& context) for (uint32_t i = 0; i < num_ports(); ++i) { PortImpl* const port = _ports->at(i); port->pre_process(context); - port->connect_buffers(context.offset()); + port->connect_buffers(); } } @@ -171,10 +171,9 @@ NodeImpl::post_process(ProcessContext& context) } void -NodeImpl::set_port_buffer(uint32_t voice, - uint32_t port_num, - BufferRef buf, - SampleCount offset) +NodeImpl::set_port_buffer(uint32_t voice, + uint32_t port_num, + BufferRef buf) { /*std::cout << path() << " set port " << port_num << " voice " << voice << " buffer " << buf << " offset " << offset << std::endl;*/ |