summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Info.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/LV2Info.cpp')
-rw-r--r--src/server/LV2Info.cpp16
1 files changed, 8 insertions, 8 deletions
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);