diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index 24e9653a1d..c7d363e512 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -298,13 +298,13 @@ LV2Plugin::init(const void* c_plugin, framecnt_t rate) #ifdef HAVE_NEW_LV2 LV2_URID atom_Int = _uri_map.uri_to_id(LV2_ATOM__Int); LV2_Options_Option options[] = { - { _uri_map.uri_to_id(LV2_BUF_SIZE__minBlockLength), + { LV2_OPTIONS_INSTANCE, 0, _uri_map.uri_to_id(LV2_BUF_SIZE__minBlockLength), sizeof(int32_t), atom_Int, &_block_length }, - { _uri_map.uri_to_id(LV2_BUF_SIZE__maxBlockLength), + { LV2_OPTIONS_INSTANCE, 0, _uri_map.uri_to_id(LV2_BUF_SIZE__maxBlockLength), sizeof(int32_t), atom_Int, &_block_length }, - { _uri_map.uri_to_id(LV2_BUF_SIZE__sequenceSize), + { LV2_OPTIONS_INSTANCE, 0, _uri_map.uri_to_id(LV2_BUF_SIZE__sequenceSize), sizeof(int32_t), atom_Int, &_seq_size }, - { 0, 0, 0, NULL } + { LV2_OPTIONS_INSTANCE, 0, 0, 0, 0, NULL } }; _options_feature.URI = LV2_OPTIONS__options; diff --git a/libs/ardour/wscript b/libs/ardour/wscript index e01de3e764..fd572c6a2e 100644 --- a/libs/ardour/wscript +++ b/libs/ardour/wscript @@ -259,7 +259,7 @@ def configure(conf): autowaf.check_pkg(conf, 'lv2', uselib_store='LV2', atleast_version='1.0.0', mandatory=True) autowaf.check_pkg(conf, 'lv2', uselib_store='NEW_LV2', - atleast_version='1.0.13', mandatory=False) + atleast_version='1.0.15', mandatory=False) autowaf.check_pkg(conf, 'serd-0', uselib_store='SERD', atleast_version='0.14.0', mandatory=True) autowaf.check_pkg(conf, 'sord-0', uselib_store='SORD',