Create a new UI and return a handle to it. This function works
similarly to LV2_Descriptor::instantiate().
@param descriptor The descriptor for the UI to instantiate.
@param plugin_uri The URI of the plugin that this UI will control.
@param bundle_path The path to the bundle containing this UI, including
the trailing directory separator.
@param write_function A function that the UI can use to send data to the
plugin's input ports.
@param controller A handle for the UI instance to be passed as the
first parameter of UI methods.
@param widget (output) widget pointer. The UI points this at its main
widget, which has the type defined by the UI type in the data file.
@param features An array of LV2_Feature pointers. The host must pass
all feature URIs that it and the UI supports and any additional data, as
in LV2_Descriptor::instantiate(). Note that UI features and plugin
features are not necessarily the same.
Create a new UI and return a handle to it. This function works similarly to LV2_Descriptor::instantiate().
@param descriptor The descriptor for the UI to instantiate.
@param plugin_uri The URI of the plugin that this UI will control.
@param bundle_path The path to the bundle containing this UI, including the trailing directory separator.
@param write_function A function that the UI can use to send data to the plugin's input ports.
@param controller A handle for the UI instance to be passed as the first parameter of UI methods.
@param widget (output) widget pointer. The UI points this at its main widget, which has the type defined by the UI type in the data file.
@param features An array of LV2_Feature pointers. The host must pass all feature URIs that it and the UI supports and any additional data, as in LV2_Descriptor::instantiate(). Note that UI features and plugin features are not necessarily the same.