From e853d3dfcf450f6160e19f20b6b67e251c906169 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 24 Feb 2010 23:12:34 +0000 Subject: Add new Delay internal. Preliminary work towards split cycles. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2485 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/LV2Node.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/engine/LV2Node.cpp') diff --git a/src/engine/LV2Node.cpp b/src/engine/LV2Node.cpp index 65da2c2c..a8892925 100644 --- a/src/engine/LV2Node.cpp +++ b/src/engine/LV2Node.cpp @@ -392,11 +392,12 @@ LV2Node::process(ProcessContext& context) void -LV2Node::set_port_buffer(uint32_t voice, uint32_t port_num, BufferFactory::Ref buf) +LV2Node::set_port_buffer(uint32_t voice, uint32_t port_num, + IntrusivePtr buf, SampleCount offset) { - NodeBase::set_port_buffer(voice, port_num, buf); + NodeBase::set_port_buffer(voice, port_num, buf, offset); slv2_instance_connect_port(instance(voice), port_num, - buf ? buf->port_data(_ports->at(port_num)->type()) : NULL); + buf ? buf->port_data(_ports->at(port_num)->type(), offset) : NULL); } -- cgit v1.2.1