From 77d22f06129e91f51e37c09c71c0917a0136dd7d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 28 Apr 2011 22:14:04 +0000 Subject: Switch to Lilv from SLV2. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3220 a436a847-0d15-0410-975c-d299462d15a1 --- src/server/LV2Info.cpp | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'src/server/LV2Info.cpp') diff --git a/src/server/LV2Info.cpp b/src/server/LV2Info.cpp index 6ce5792b..ea263f91 100644 --- a/src/server/LV2Info.cpp +++ b/src/server/LV2Info.cpp @@ -39,14 +39,14 @@ namespace Ingen { namespace Server { LV2Info::LV2Info(Ingen::Shared::World* world) - : input_class(slv2_value_new_uri(world->slv2_world(), SLV2_PORT_CLASS_INPUT)) - , output_class(slv2_value_new_uri(world->slv2_world(), SLV2_PORT_CLASS_OUTPUT)) - , control_class(slv2_value_new_uri(world->slv2_world(), SLV2_PORT_CLASS_CONTROL)) - , audio_class(slv2_value_new_uri(world->slv2_world(), SLV2_PORT_CLASS_AUDIO)) - , event_class(slv2_value_new_uri(world->slv2_world(), SLV2_PORT_CLASS_EVENT)) - , value_port_class(slv2_value_new_uri(world->slv2_world(), + : input_class(lilv_value_new_uri(world->lilv_world(), LILV_PORT_CLASS_INPUT)) + , output_class(lilv_value_new_uri(world->lilv_world(), LILV_PORT_CLASS_OUTPUT)) + , control_class(lilv_value_new_uri(world->lilv_world(), LILV_PORT_CLASS_CONTROL)) + , audio_class(lilv_value_new_uri(world->lilv_world(), LILV_PORT_CLASS_AUDIO)) + , event_class(lilv_value_new_uri(world->lilv_world(), LILV_PORT_CLASS_EVENT)) + , value_port_class(lilv_value_new_uri(world->lilv_world(), "http://lv2plug.in/ns/ext/atom#ValuePort")) - , message_port_class(slv2_value_new_uri(world->slv2_world(), + , message_port_class(lilv_value_new_uri(world->lilv_world(), "http://lv2plug.in/ns/ext/atom#MessagePort")) , _world(world) { @@ -64,13 +64,13 @@ LV2Info::LV2Info(Ingen::Shared::World* world) LV2Info::~LV2Info() { - slv2_value_free(input_class); - slv2_value_free(output_class); - slv2_value_free(control_class); - slv2_value_free(audio_class); - slv2_value_free(event_class); - slv2_value_free(value_port_class); - slv2_value_free(message_port_class); + lilv_value_free(input_class); + lilv_value_free(output_class); + lilv_value_free(control_class); + lilv_value_free(audio_class); + lilv_value_free(event_class); + lilv_value_free(value_port_class); + lilv_value_free(message_port_class); } } // namespace Server -- cgit v1.2.1