summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-12-15 14:05:25 +0100
committerRobin Gareus <robin@gareus.org>2019-12-15 14:06:00 +0100
commit3cdde4ffc1f9f3c1313962ea72438cfc6c6ce2f1 (patch)
tree83f6387a08a49d5e32e62cb5f523fd819a9fa15a /libs
parentf969d4fc31782c451bd964bd67a228024a5b26df (diff)
LV2: add state:mapPath as supported feature and sort URIs
Diffstat (limited to 'libs')
-rw-r--r--libs/ardour/lv2_plugin.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/lv2_plugin.cc b/libs/ardour/lv2_plugin.cc
index 453c454714..4c9e2617f2 100644
--- a/libs/ardour/lv2_plugin.cc
+++ b/libs/ardour/lv2_plugin.cc
@@ -3554,15 +3554,17 @@ LV2PluginInfo::discover()
LILV_FOREACH(nodes, i, required_features) {
const char* rf = lilv_node_as_uri (lilv_nodes_get (required_features, i));
bool ok = false;
+ if (!strcmp (rf, "http://lv2plug.in/ns/lv2core#isLive")) { ok = true; }
if (!strcmp (rf, "http://lv2plug.in/ns/ext/instance-access")) { ok = true; }
if (!strcmp (rf, "http://lv2plug.in/ns/ext/data-access")) { ok = true; }
if (!strcmp (rf, LV2_STATE__makePath)) { ok = true; }
+ if (!strcmp (rf, LV2_STATE__mapPath)) { ok = true; }
+ if (!strcmp (rf, "http://lv2plug.in/ns/ext/state#threadSafeRestore")) { ok = true; }
+ if (!strcmp (rf, LV2_STATE_PREFIX "loadDefaultState")) { ok = true; }
if (!strcmp (rf, LV2_LOG__log)) { ok = true; }
if (!strcmp (rf, LV2_WORKER__schedule)) { ok = true; }
- if (!strcmp (rf, LV2_STATE_PREFIX "loadDefaultState")) { ok = true; }
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; }