summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/engine/LV2Node.cpp4
1 files changed, 2 insertions, 2 deletions
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());
}