plugins/lv2/lv2_ui.h file

LV2 UI related code.



auto lv2_ui_is_resizable(Lv2Plugin* plugin) -> bool
Returns if the UI of the plugin is resizable.
void lv2_ui_init(Lv2Plugin* plugin)
Inits the LV2 plugin UI.
void lv2_ui_instantiate(Lv2Plugin* plugin)
Instantiates the plugin UI.
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_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.
auto lv2_ui_send_event_from_plugin_to_ui(Lv2Plugin* plugin, uint32_t port_index, uint32_t type, uint32_t size, const void* body) -> int
Send event to UI, called during the real time audio thread when processing the plugin.
auto lv2_ui_send_control_val_event_from_plugin_to_ui(Lv2Plugin* lv2_plugin, Port* port) -> NONNULL void
Similar to lv2_ui_send_event_from_plugin_to_ui except that it passes a float instead of an LV2 atom.