summaryrefslogtreecommitdiffstats
path: root/src/LV2Features.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2014-08-09 05:10:32 +0000
committerDavid Robillard <d@drobilla.net>2014-08-09 05:10:32 +0000
commit6d4c83789dd90792e96e9e4271a5aad4fdc76e3e (patch)
tree00b2a070ddafd68699a51802b2a176d0266fd4d3 /src/LV2Features.cpp
parent4801cabdb2f5685d68d778ab81e8677752d835d4 (diff)
downloadingen-6d4c83789dd90792e96e9e4271a5aad4fdc76e3e.tar.gz
ingen-6d4c83789dd90792e96e9e4271a5aad4fdc76e3e.tar.bz2
ingen-6d4c83789dd90792e96e9e4271a5aad4fdc76e3e.zip
Support plugins which require lv2:isLive.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5448 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/LV2Features.cpp')
-rw-r--r--src/LV2Features.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/LV2Features.cpp b/src/LV2Features.cpp
index d53c5679..b3600f02 100644
--- a/src/LV2Features.cpp
+++ b/src/LV2Features.cpp
@@ -50,6 +50,10 @@ LV2Features::FeatureArray::~FeatureArray()
bool
LV2Features::is_supported(const std::string& uri) const
{
+ if (uri == "http://lv2plug.in/ns/lv2core#isLive") {
+ return true;
+ }
+
for (const auto& f : _features) {
if (f->uri() == uri) {
return true;