Re: [LAD] "enhanced event port" LV2 extension proposal

From: Lars Luthman <lars.luthman@email-addr-hidden>
Date: Thu Nov 29 2007 - 15:04:09 EET

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

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev

Received on Thu Nov 29 16:15:05 2007

This archive was generated by hypermail 2.1.8 : Thu Nov 29 2007 - 16:15:05 EET