summaryrefslogtreecommitdiff
path: root/libs/ardour/lv2_plugin_lilv.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-21 03:22:08 +0000
committerDavid Robillard <d@drobilla.net>2011-11-21 03:22:08 +0000
commitd2b7f0d3d2bc41abccd578a102060e3bf0b6a440 (patch)
treeb91aae0abd20657b66f3c6bbbc341e5715e9cf15 /libs/ardour/lv2_plugin_lilv.cc
parentda9b82732eed632d8b940818382f7eb369100964 (diff)
Implement the LV2 urid extension and remove implementation of (experimental) LV2 uri-unmap extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@10723 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/lv2_plugin_lilv.cc')
-rw-r--r--libs/ardour/lv2_plugin_lilv.cc8
1 files changed, 5 insertions, 3 deletions
diff --git a/libs/ardour/lv2_plugin_lilv.cc b/libs/ardour/lv2_plugin_lilv.cc
index fc8ed95835..bee0f3846f 100644
--- a/libs/ardour/lv2_plugin_lilv.cc
+++ b/libs/ardour/lv2_plugin_lilv.cc
@@ -167,13 +167,15 @@ LV2Plugin::init(void* c_plugin, framecnt_t rate)
}
#endif
- _features = (LV2_Feature**)malloc(sizeof(LV2_Feature*) * 6);
+ _features = (LV2_Feature**)malloc(sizeof(LV2_Feature*) * 8);
_features[0] = &_instance_access_feature;
_features[1] = &_data_access_feature;
_features[2] = &_path_support_feature;
_features[3] = &_new_file_support_feature;
- _features[4] = _uri_map.feature();
- _features[5] = NULL;
+ _features[4] = _uri_map.uri_map_feature();
+ _features[5] = _uri_map.urid_map_feature();
+ _features[6] = _uri_map.urid_unmap_feature();
+ _features[7] = NULL;
LV2_Files_Path_Support* path_support = (LV2_Files_Path_Support*)malloc(
sizeof(LV2_Files_Path_Support));