diff options
author | David Robillard <d@drobilla.net> | 2008-11-24 02:00:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2008-11-24 02:00:40 +0000 |
commit | d038cc80aeab835344708b0a136198dab9a28fab (patch) | |
tree | 585b7ac3a0d061a2081d6289ab9aedf51bf1efa7 /src/engine | |
parent | 4a1f6eeb270840d17e70251443ef7945ebd934f7 (diff) | |
download | ingen-d038cc80aeab835344708b0a136198dab9a28fab.tar.gz ingen-d038cc80aeab835344708b0a136198dab9a28fab.tar.bz2 ingen-d038cc80aeab835344708b0a136198dab9a28fab.zip |
Fix message extension.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1775 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/engine')
-rw-r--r-- | src/engine/LV2Node.cpp | 4 |
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()); } |