[LAD] "enhanced event port" LV2 extension proposal

Lars Luthman lars.luthman at gmail.com
Thu Nov 29 13:04:09 UTC 2007


On Thu, 2007-11-29 at 13:56 +0100, Lars Luthman wrote:
> On Thu, 2007-11-29 at 09:19 +0000, Krzysztof Foltman wrote:
> > Lars Luthman wrote:
> > > The host won't instantiate the plugin unless it knows how to handle
> > > event ports and MIDI events, and the plugin will fail to instantiate
> > > unless the host passes a URI -> integer map to instantiate using a
> > > LV2_Feature with the URI <http://lv2.example.com/uri-map> and a
> > > NULL-terminated array of event type URIs as data.
> > 
> > How will it fail? (how will the host be notified about failure?) Is
> > there any way to communicate the reason for the failure to the user?
> 
> The same way the core spec says that a plugin should always fail to
> instantiate when a required feature is missing - by returning NULL from
> the instantiate() callback. There is no error message passing.

...except that if all event ports are lv2:connectionOptional the plugin
should _not_ fail to instantiate.


--ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.linuxaudio.org/pipermail/linux-audio-dev/attachments/20071129/77c62318/attachment.pgp>


More information about the Linux-audio-dev mailing list