From 3c92d170d4d79ed43e50d9c38e7a1e3b272eb88c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 28 May 2012 00:32:18 +0000 Subject: ... missed one. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4471 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/LV2Node.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'src/server/LV2Node.cpp') diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp index 3292a063..4a7800f3 100644 --- a/src/server/LV2Node.cpp +++ b/src/server/LV2Node.cpp @@ -150,9 +150,6 @@ LV2Node::instantiate(BufferFactory& bufs) _features = info->world().lv2_features().lv2_features(&info->world(), this); uint32_t port_buffer_size = 0; - LilvNode* work_schedule = lilv_new_uri(info->lv2_world(), - LV2_WORKER__schedule); - for (uint32_t i = 0; i < _polyphony; ++i) { (*_instances)[i] = SharedPtr( lilv_plugin_instantiate(plug, _srate, _features->array()), @@ -164,15 +161,13 @@ LV2Node::instantiate(BufferFactory& bufs) return false; } - if (i == 0 && lilv_plugin_has_feature(plug, work_schedule)) { + if (i == 0 && lilv_plugin_has_feature(plug, info->work_schedule)) { _worker_iface = (LV2_Worker_Interface*) lilv_instance_get_extension_data(instance(i), LV2_WORKER__interface); } } - lilv_node_free(work_schedule); - string port_name; Raul::Path port_path; -- cgit v1.2.1