feat: log error if urid map feature is not available

Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
This commit is contained in:
Christopher Arndt 2026-01-25 14:53:28 +01:00
parent c4b5504309
commit 2082e5bbf7

View File

@ -32,6 +32,7 @@ proc instantiate(descriptor: ptr Lv2Descriptor; sampleRate: cdouble;
plug.map = cast[ptr UridMap](lv2FeaturesData(features, lv2UridMap))
if plug.map.isNil:
plug.log.error(&"Required feature {lv2UridMap} not available.")
freeShared(plug)
return cast[Lv2Handle](nil)