summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Node.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-11 02:13:56 +0000
committerDavid Robillard <d@drobilla.net>2012-08-11 02:13:56 +0000
commit571cbb33901b2a6b6fbc6f311723bc9bc561e731 (patch)
tree90c1731c8aea550277cf5b83b3429502a7fb3040 /src/server/LV2Node.cpp
parent46eff0830c8894997fb624733fadcea9c6d74812 (diff)
downloadingen-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/LV2Node.cpp')
-rw-r--r--src/server/LV2Node.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp
index 4ed6c05a..8857edbb 100644
--- a/src/server/LV2Node.cpp
+++ b/src/server/LV2Node.cpp
@@ -30,6 +30,7 @@
#include "ingen/URIMap.hpp"
#include "ingen/URIs.hpp"
+#include "Buffer.hpp"
#include "Driver.hpp"
#include "Engine.hpp"
#include "InputPort.hpp"
@@ -461,13 +462,12 @@ LV2Node::process(ProcessContext& context)
void
LV2Node::set_port_buffer(uint32_t voice,
uint32_t port_num,
- BufferRef buf,
- SampleCount offset)
+ BufferRef buf)
{
- NodeImpl::set_port_buffer(voice, port_num, buf, offset);
+ NodeImpl::set_port_buffer(voice, port_num, buf);
lilv_instance_connect_port(
instance(voice), port_num,
- buf ? buf->port_data(_ports->at(port_num)->type(), offset) : NULL);
+ buf ? buf->port_data(_ports->at(port_num)->type()) : NULL);
}
} // namespace Server