From b928c3274a39498948f33b12565c8f5277b2b81c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 30 Apr 2011 01:40:20 +0000 Subject: 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 --- src/server/LV2Info.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') 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); -- cgit v1.2.1