diff options
author | David Robillard <d@drobilla.net> | 2011-04-30 01:40:20 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-30 01:40:20 +0000 |
commit | b928c3274a39498948f33b12565c8f5277b2b81c (patch) | |
tree | d8d497dd9d3502cca7fb4a52486b62850f8fa36e /src | |
parent | 17e187d3642ee4437af0d500dc13367be6136e32 (diff) | |
download | ingen-b928c3274a39498948f33b12565c8f5277b2b81c.tar.gz ingen-b928c3274a39498948f33b12565c8f5277b2b81c.tar.bz2 ingen-b928c3274a39498948f33b12565c8f5277b2b81c.zip |
Cache port RDF node on load instead of searching for it repeatedly.
Consistent namespace and URI define names.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3240 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src')
-rw-r--r-- | src/server/LV2Info.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/server/LV2Info.cpp b/src/server/LV2Info.cpp index b2e8f56f..a1c93a18 100644 --- a/src/server/LV2Info.cpp +++ b/src/server/LV2Info.cpp @@ -39,15 +39,15 @@ namespace Ingen { namespace Server { LV2Info::LV2Info(Ingen::Shared::World* world) - : input_class(lilv_new_uri(world->lilv_world(), LILV_PORT_CLASS_INPUT)) - , output_class(lilv_new_uri(world->lilv_world(), LILV_PORT_CLASS_OUTPUT)) - , control_class(lilv_new_uri(world->lilv_world(), LILV_PORT_CLASS_CONTROL)) - , audio_class(lilv_new_uri(world->lilv_world(), LILV_PORT_CLASS_AUDIO)) - , event_class(lilv_new_uri(world->lilv_world(), LILV_PORT_CLASS_EVENT)) + : input_class(lilv_new_uri(world->lilv_world(), LILV_URI_INPUT_PORT)) + , output_class(lilv_new_uri(world->lilv_world(), LILV_URI_OUTPUT_PORT)) + , control_class(lilv_new_uri(world->lilv_world(), LILV_URI_CONTROL_PORT)) + , audio_class(lilv_new_uri(world->lilv_world(), LILV_URI_AUDIO_PORT)) + , event_class(lilv_new_uri(world->lilv_world(), LILV_URI_EVENT_PORT)) , value_port_class(lilv_new_uri(world->lilv_world(), - "http://lv2plug.in/ns/ext/atom#ValuePort")) + "http://lv2plug.in/ns/ext/atom#ValuePort")) , message_port_class(lilv_new_uri(world->lilv_world(), - "http://lv2plug.in/ns/ext/atom#MessagePort")) + "http://lv2plug.in/ns/ext/atom#MessagePort")) , _world(world) { assert(world); |