traverso-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Traverso-devel] Traverso LV2 Support


From: Jeremy Salwen
Subject: Re: [Traverso-devel] Traverso LV2 Support
Date: Sun, 19 Dec 2010 13:38:39 -0500



On Sun, Dec 19, 2010 at 4:41 AM, Stefano D'Angelo <address@hidden> wrote:
2010/12/19 Stefano D'Angelo <address@hidden>:
> The LV2 extension mechanism is well explained in the core
> specification (look here: http://lv2plug.in/ns/lv2core/ - search for
> lv2:Feature, lv2:optionalFeature, lv2:requiredFeature). Any time you
> use an extension, you should check whether you have to make explicit
> if your plugins use extra features, so that hosts that are not capable
> of handling them either ignore them (required feature) or use them in
> a degraded configuration (optional feature).

I was forgetting... your instantiate() function should also check for
features and refuse to instantiate (return NULL) when the host does
not pass it required features' URIs.

Stefano


Hi Stefano,

Thanks for pointing me to the optionalFeature spec.  I will fix that up.  I also should note that my instantiate function does handle the host not supporting MIDI (I.E. null midi ports).  It worked in Traverso, it just displayed an erroneous gui control.

Jeremy

reply via email to

[Prev in Thread] Current Thread [Next in Thread]