From 8329f55e5f54a24a4329d61c0a49b39d89d8d969 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 3 May 2019 20:02:26 +0200 Subject: [PATCH] Extend list of supported LV2 features * boundedBlockLength is given since ardour sets min/max blocksize * add non-standard features (inline display, midnam, MIDI bank/patch notify) --- libs/ardour/lv2_plugin.cc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc index f3de8153ff..ce979beea9 100644 --- a/libs/ardour/lv2_plugin.cc +++ b/libs/ardour/lv2_plugin.cc @@ -3453,6 +3453,14 @@ LV2PluginInfo::discover() if (!strcmp (rf, LV2_URID_MAP_URI)) { ok = true; } if (!strcmp (rf, LV2_URID_UNMAP_URI)) { ok = true; } if (!strcmp (rf, "http://lv2plug.in/ns/lv2core#isLive")) { ok = true; } + if (!strcmp (rf, LV2_BUF_SIZE__boundedBlockLength)) { ok = true; } + if (!strcmp (rf, "http://lv2plug.in/ns/ext/buf-size#coarseBlockLength" /*LV2_BUF_SIZE__coarseBlockLength*/)) { ok = true; } + if (!strcmp (rf, LV2_OPTIONS__options)) { ok = true; } +#ifdef LV2_EXTENDED + if (!strcmp (rf, LV2_INLINEDISPLAY__queue_draw)) { ok = true; } + if (!strcmp (rf, LV2_MIDNAM__update)) { ok = true; } + if (!strcmp (rf, LV2_BANKPATCH__notify)) { ok = true; } +#endif if (!ok) { warning << string_compose ( _("Unsupported required LV2 feature: '%1' in '%2'."),