From 4c299323440923891b9c583a354116000eb143cc Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 11 Mar 2012 05:22:08 +0000 Subject: Implement cv:CVPort (fix #790). Not well-tested, but at least works somewhat. Use new style LV2 URI defines (and fix invalid atom URIs). git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4050 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/LV2Info.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/server/LV2Info.cpp') diff --git a/src/server/LV2Info.cpp b/src/server/LV2Info.cpp index 6b94f72f..4fff9647 100644 --- a/src/server/LV2Info.cpp +++ b/src/server/LV2Info.cpp @@ -37,15 +37,14 @@ namespace Ingen { namespace Server { LV2Info::LV2Info(Ingen::Shared::World* world) - : 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)) + : input_class(lilv_new_uri(world->lilv_world(), LV2_CORE__InputPort)) + , output_class(lilv_new_uri(world->lilv_world(), LV2_CORE__OutputPort)) + , control_class(lilv_new_uri(world->lilv_world(), LV2_CORE__ControlPort)) + , cv_class(lilv_new_uri(world->lilv_world(), "http://lv2plug.in/ns/ext/cv-port#CVPort")) + , audio_class(lilv_new_uri(world->lilv_world(), LV2_CORE__AudioPort)) , 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")) - , message_port_class(lilv_new_uri(world->lilv_world(), - "http://lv2plug.in/ns/ext/atom#MessagePort")) + , value_port_class(lilv_new_uri(world->lilv_world(), LV2_ATOM__ValuePort)) + , message_port_class(lilv_new_uri(world->lilv_world(), LV2_ATOM__MessagePort)) , _world(world) { assert(world); @@ -61,6 +60,7 @@ LV2Info::~LV2Info() lilv_node_free(input_class); lilv_node_free(output_class); lilv_node_free(control_class); + lilv_node_free(cv_class); lilv_node_free(audio_class); lilv_node_free(event_class); lilv_node_free(value_port_class); -- cgit v1.2.1