summaryrefslogtreecommitdiffstats
path: root/include/ingen/LV2Features.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2025-06-06 12:03:30 -0400
committerDavid Robillard <d@drobilla.net>2025-06-06 12:03:30 -0400
commit13a045d01c7a77fc918b7f496f5bf96ade4f6812 (patch)
tree0df9319a44c69d73663fdc427720e2660fdbc338 /include/ingen/LV2Features.hpp
parent6e02a3e2e60ffdcebdb2a244dd11e500e108c6bb (diff)
downloadingen-13a045d01c7a77fc918b7f496f5bf96ade4f6812.tar.gz
ingen-13a045d01c7a77fc918b7f496f5bf96ade4f6812.tar.bz2
ingen-13a045d01c7a77fc918b7f496f5bf96ade4f6812.zip
Pass "empty" LV2 features to plugin instantiate methodsHEADmain
"Empty" features (features with no data) previously weren't passed to the plugin but this breaks plugins that are checking for required host feature. Specifically, this fixes JUCE plugins that require bufsz:boundedBlockLength.
Diffstat (limited to 'include/ingen/LV2Features.hpp')
-rw-r--r--include/ingen/LV2Features.hpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/ingen/LV2Features.hpp b/include/ingen/LV2Features.hpp
index 41bdf848..fe6fd707 100644
--- a/include/ingen/LV2Features.hpp
+++ b/include/ingen/LV2Features.hpp
@@ -59,10 +59,7 @@ public:
const char* uri() const override { return _uri; }
- std::shared_ptr<LV2_Feature> feature(World& world, Node* block) override
- {
- return nullptr;
- }
+ std::shared_ptr<LV2_Feature> feature(World& world, Node* block) override;
const char* _uri;
};