diff options
Diffstat (limited to 'src/server')
-rw-r--r-- | src/server/LV2Info.cpp | 14 | ||||
-rw-r--r-- | src/server/LV2Node.cpp | 14 |
2 files changed, 14 insertions, 14 deletions
diff --git a/src/server/LV2Info.cpp b/src/server/LV2Info.cpp index ea263f91..fa6e38ee 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(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(), + : 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)) + , value_port_class(lilv_new_uri(world->lilv_world(), "http://lv2plug.in/ns/ext/atom#ValuePort")) - , message_port_class(lilv_value_new_uri(world->lilv_world(), + , message_port_class(lilv_new_uri(world->lilv_world(), "http://lv2plug.in/ns/ext/atom#MessagePort")) , _world(world) { diff --git a/src/server/LV2Node.cpp b/src/server/LV2Node.cpp index 0f53b6a3..18e0f3fc 100644 --- a/src/server/LV2Node.cpp +++ b/src/server/LV2Node.cpp @@ -150,7 +150,7 @@ LV2Node::instantiate(BufferFactory& bufs) _features = info->world().lv2_features()->lv2_features(&info->world(), this); uint32_t port_buffer_size = 0; - LilvValue* ctx_ext_uri = lilv_value_new_uri(info->lv2_world(), + LilvValue* ctx_ext_uri = lilv_new_uri(info->lv2_world(), LV2_CONTEXTS_URI "#MessageContext"); for (uint32_t i = 0; i < _polyphony; ++i) { @@ -189,22 +189,22 @@ LV2Node::instantiate(BufferFactory& bufs) float* def_values = new float[num_ports]; lilv_plugin_get_port_ranges_float(plug, min_values, max_values, def_values); - LilvValue* context_pred = lilv_value_new_uri(info->lv2_world(), + LilvValue* context_pred = lilv_new_uri(info->lv2_world(), "http://lv2plug.in/ns/ext/contexts#context"); - LilvValue* default_pred = lilv_value_new_uri(info->lv2_world(), + LilvValue* default_pred = lilv_new_uri(info->lv2_world(), "http://lv2plug.in/ns/lv2core#default"); - LilvValue* min_size_pred = lilv_value_new_uri(info->lv2_world(), + LilvValue* min_size_pred = lilv_new_uri(info->lv2_world(), "http://lv2plug.in/ns/ext/resize-port#minimumSize"); - LilvValue* port_property_pred = lilv_value_new_uri(info->lv2_world(), + LilvValue* port_property_pred = lilv_new_uri(info->lv2_world(), "http://lv2plug.in/ns/lv2core#portProperty"); - LilvValue* supports_pred = lilv_value_new_uri(info->lv2_world(), + LilvValue* supports_pred = lilv_new_uri(info->lv2_world(), "http://lv2plug.in/ns/ext/atom#supports"); - //LilvValue as_large_as_pred = lilv_value_new_uri(info->lv2_world(), + //LilvValue as_large_as_pred = lilv_new_uri(info->lv2_world(), // "http://lv2plug.in/ns/ext/resize-port#asLargeAs"); for (uint32_t j = 0; j < num_ports; ++j) { |