summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Node.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-05-28 00:32:18 +0000
committerDavid Robillard <d@drobilla.net>2012-05-28 00:32:18 +0000
commit3c92d170d4d79ed43e50d9c38e7a1e3b272eb88c (patch)
treec67f28e64fafc390ea21b64d76dc34d267b4aa30 /src/server/LV2Node.cpp
parent9aa52e97049feda9f46bb8762586fb80737486fb (diff)
downloadingen-3c92d170d4d79ed43e50d9c38e7a1e3b272eb88c.tar.gz
ingen-3c92d170d4d79ed43e50d9c38e7a1e3b272eb88c.tar.bz2
ingen-3c92d170d4d79ed43e50d9c38e7a1e3b272eb88c.zip
... missed one.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4471 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/LV2Node.cpp')
-rw-r--r--src/server/LV2Node.cpp7
1 files changed, 1 insertions, 6 deletions
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<void>(
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;