summaryrefslogtreecommitdiff
path: root/libs/ardour/lv2_plugin.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-05-03 20:02:26 +0200
committerRobin Gareus <robin@gareus.org>2019-05-03 20:02:26 +0200
commit8329f55e5f54a24a4329d61c0a49b39d89d8d969 (patch)
tree14899f3c8aceff0681badfba75dba3840577dd1d /libs/ardour/lv2_plugin.cc
parent2ef3f65ab4eadaaaeabbef4d4d3c20dbedfe4171 (diff)
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)
Diffstat (limited to 'libs/ardour/lv2_plugin.cc')
-rw-r--r--libs/ardour/lv2_plugin.cc8
1 files changed, 8 insertions, 0 deletions
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'."),