13#ifndef __PLUGINS_LV2_LV2_UI_H__
14#define __PLUGINS_LV2_LV2_UI_H__
NONNULL void lv2_ui_send_control_val_event_from_plugin_to_ui(Lv2Plugin *lv2_plugin, Port *port)
Similar to lv2_ui_send_event_from_plugin_to_ui except that it passes a float instead of an LV2 atom.
void lv2_ui_read_and_apply_events(Lv2Plugin *plugin, uint32_t nframes)
Read and apply control change events from UI, for plugins that have their own UIs.
void lv2_ui_init(Lv2Plugin *plugin)
Inits the LV2 plugin UI.
int lv2_ui_send_event_from_plugin_to_ui(Lv2Plugin *plugin, uint32_t port_index, uint32_t type, uint32_t size, const void *body)
Send event to UI, called during the real time audio thread when processing the plugin.
void lv2_ui_send_event_from_ui_to_plugin(Lv2Plugin *plugin, uint32_t port_index, uint32_t buffer_size, uint32_t protocol, const void *buffer)
Write events from the plugin's UI to the plugin.
bool lv2_ui_is_resizable(Lv2Plugin *plugin)
Returns if the UI of the plugin is resizable.
void lv2_ui_instantiate(Lv2Plugin *plugin)
Instantiates the plugin UI.
Plugin * plugin
Base Plugin instance (parent).
Must ONLY be created via port_new()
API for Suil, an LV2 UI wrapper library.