From d038cc80aeab835344708b0a136198dab9a28fab Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 24 Nov 2008 02:00:40 +0000 Subject: Fix message extension. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1775 a436a847-0d15-0410-975c-d299462d15a1 --- src/engine/LV2Node.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/engine') diff --git a/src/engine/LV2Node.cpp b/src/engine/LV2Node.cpp index 96118e00..b1e0c9c4 100644 --- a/src/engine/LV2Node.cpp +++ b/src/engine/LV2Node.cpp @@ -295,7 +295,7 @@ LV2Node::message_process(MessageContext& context, uint32_t* output) { // FIXME: voice if (_message_funcs) - (*_message_funcs->message_run)((*_instances)[0], output); + (*_message_funcs->message_run)((*_instances)[0]->lv2_handle, output); /* MESSAGE PROCESS */ } @@ -322,7 +322,7 @@ LV2Node::set_port_buffer(uint32_t voice, uint32_t port_num, Buffer* buf) if ((*_ports).at(port_num)->context() == Context::MESSAGE) { assert(_message_funcs); assert(_message_funcs->message_connect_port); - (*_message_funcs->message_connect_port)((*_instances)[voice], port_num, buf->raw_data()); + (*_message_funcs->message_connect_port)((*_instances)[voice]->lv2_handle, port_num, buf->raw_data()); } else { slv2_instance_connect_port((*_instances)[voice], port_num, buf->raw_data()); } -- cgit v1.2.1