diff options
author | David Robillard <d@drobilla.net> | 2012-09-16 17:01:23 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-09-16 17:01:23 +0000 |
commit | 87017d581af48565a57e8aac29f90c17c278eab2 (patch) | |
tree | fabf93a56082c6d1c5afe7c4df52ce9bcc9bfaa1 | |
parent | d80482dddf822917212cb8866254082b4e2f0b0b (diff) |
Support latest options extension.
git-svn-id: svn://localhost/ardour2/branches/3.0@13191 d708f5d6-7413-0410-9779-e7cbd77b26cf
-rw-r--r-- | libs/ardour/lv2_plugin.cc | 8 | ||||
-rw-r--r-- | libs/ardour/wscript | 2 |
2 files changed, 5 insertions, 5 deletions
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', |