From d2b7f0d3d2bc41abccd578a102060e3bf0b6a440 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 21 Nov 2011 03:22:08 +0000 Subject: 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 --- libs/ardour/lv2_plugin_lilv.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'libs/ardour/lv2_plugin_lilv.cc') 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)); -- cgit v1.2.3