diff options
author | David Robillard <d@drobilla.net> | 2011-10-21 17:40:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-10-21 17:40:47 +0000 |
commit | 042445d4f178043cb97aa0388f5bc9a65fcac2df (patch) | |
tree | 8c78656c6c326eb5409467aced5658c56e7bdd74 /src/server | |
parent | efe47ea54e71b359dde85c0f272e7fc3934b85e3 (diff) | |
download | ingen-042445d4f178043cb97aa0388f5bc9a65fcac2df.tar.gz ingen-042445d4f178043cb97aa0388f5bc9a65fcac2df.tar.bz2 ingen-042445d4f178043cb97aa0388f5bc9a65fcac2df.zip |
Simplify LV2Features.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3561 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/LV2Info.cpp | 6 | ||||
-rw-r--r-- | src/server/LV2Node.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/server/LV2Info.cpp b/src/server/LV2Info.cpp index 1ff351b6..6d13644e 100644 --- a/src/server/LV2Info.cpp +++ b/src/server/LV2Info.cpp @@ -51,11 +51,11 @@ LV2Info::LV2Info(Ingen::Shared::World* world) { assert(world); - world->lv2_features()->add_feature(LV2_EVENT_URI, + world->lv2_features()->add_feature( SharedPtr<Shared::LV2Features::Feature>(new EventFeature())); - world->lv2_features()->add_feature(LV2_RESIZE_PORT_URI, + world->lv2_features()->add_feature( SharedPtr<Shared::LV2Features::Feature>(new ResizeFeature())); - world->lv2_features()->add_feature(LV2_CONTEXTS_URI "#RequestRunFeature", + world->lv2_features()->add_feature( SharedPtr<Shared::LV2Features::Feature>(new RequestRunFeature())); } diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp index 125beaee..76837c88 100644 --- a/src/server/LV2Node.cpp +++ b/src/server/LV2Node.cpp @@ -152,7 +152,7 @@ LV2Node::instantiate(BufferFactory& bufs) uint32_t port_buffer_size = 0; LilvNode* ctx_ext_uri = lilv_new_uri(info->lv2_world(), - LV2_CONTEXTS_URI "#MessageContext"); + LV2_CONTEXTS_URI "#MessageContext"); for (uint32_t i = 0; i < _polyphony; ++i) { (*_instances)[i] = SharedPtr<void>( |