Zrythm
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
lv2_ui.h File Reference

LV2 UI related code. More...

#include <stdbool.h>
#include <suil/suil.h>
Include dependency graph for lv2_ui.h:

Go to the source code of this file.

Functions

bool lv2_ui_is_resizable (Lv2Plugin *plugin)
 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.
 
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.
 
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.
 

Detailed Description

LV2 UI related code.

Definition in file lv2_ui.h.