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