summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Info.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-04-28 22:14:04 +0000
committerDavid Robillard <d@drobilla.net>2011-04-28 22:14:04 +0000
commit77d22f06129e91f51e37c09c71c0917a0136dd7d (patch)
tree5ec6cfac6d5a3d2c474ff636bb025bb2ea231cad /src/server/LV2Info.cpp
parenta6ba3fee281389ad8dbf2cceaa9a953495adb6e8 (diff)
downloadingen-77d22f06129e91f51e37c09c71c0917a0136dd7d.tar.gz
ingen-77d22f06129e91f51e37c09c71c0917a0136dd7d.tar.bz2
ingen-77d22f06129e91f51e37c09c71c0917a0136dd7d.zip
Switch to Lilv from SLV2.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3220 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/server/LV2Info.cpp')
-rw-r--r--src/server/LV2Info.cpp28
1 files changed, 14 insertions, 14 deletions
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