LV2UI_Descriptor

A plugin UI.

A pointer to an object of this type is returned by the lv2ui_descriptor() function.

Members

Variables

URI
char* URI;

The URI for this UI (not for the plugin it controls).

cleanup
void function(LV2UI_Handle ui) cleanup;

Destroy the UI. The host must not try to access the widget after calling this function.

extension_data
const(void)* function(const char* uri) extension_data;

Return a data structure associated with an extension URI, typically an interface struct with additional function pointers

instantiate
LV2UI_Handle function(const LV2UI_Descriptor* descriptor, const char* plugin_uri, const char* bundle_path, LV2UI_Write_Function write_function, LV2UI_Controller controller, LV2UI_Widget* widget, const(LV2_Feature*)* features) instantiate;

Create a new UI and return a handle to it. This function works similarly to LV2_Descriptor::instantiate().

port_event
void function(LV2UI_Handle ui, uint32_t port_index, uint32_t buffer_size, uint32_t format, const void* buffer) port_event;

Tell the UI that something interesting has happened at a plugin port.

Meta