Zrythm
a highly automated and intuitive digital audio workstation
|
LV2 plugin. More...
#include <plugins/lv2_plugin.h>
Data Fields | |
LV2_Feature | map_feature |
LV2_Feature | unmap_feature |
LV2_Feature | make_path_temp_feature |
LV2_Feature | sched_feature |
LV2_Feature | state_sched_feature |
LV2_Feature | safe_restore_feature |
LV2_Feature | log_feature |
LV2_Feature | options_feature |
LV2_Feature | def_state_feature |
LV2_Feature | hard_rt_capable_feature |
LV2_Feature | data_access_feature |
LV2_Feature | instance_access_feature |
LV2_Feature | bounded_block_length_feature |
const LV2_Feature * | features [13] |
Supported features passed when instantiating plugins. | |
const LV2_Feature * | state_features [7] |
Features that are passed to state extension calls, such as when saving the state. | |
LV2_Options_Option | options [10] |
Options to pass to plugin on instantiation. | |
LV2_Extension_Data_Feature | ext_data_feature |
Data access feature. | |
uint32_t | comm_buffer_size |
Plugin <=> UI communication buffer size. | |
const LV2_Options_Interface * | options_iface |
Options interface for setting plugin options dynamically. | |
LV2_Atom_Forge | main_forge |
Atom forge (main/GTK thread). | |
LV2_Atom_Forge | dsp_forge |
Atom forge (DSP thread). | |
Sratom * | sratom |
Atom serializer. | |
Sratom * | ui_sratom |
Atom serializer for UI thread. | |
ZixRing * | ui_to_plugin_events |
Port events from UI to plugin. | |
ZixRing * | plugin_to_ui_events |
Port events from plugin to UI. | |
void * | ui_event_buf |
Buffer for readding UI port events. | |
Lv2Worker | worker |
Worker thread implementation. | |
Lv2Worker | state_worker |
Synchronous worker for state restore. | |
ZixSem | work_lock |
Lock for plugin work() method. | |
const LilvPlugin * | lilv_plugin |
Plugin class (RDF data). | |
LilvState * | preset |
Current preset. | |
LilvInstance * | instance |
Plugin instance (shared library). | |
SuilHost * | suil_host |
Plugin UI host support. | |
SuilInstance * | suil_instance |
Plugin UI instance (shared library). | |
char * | temp_dir |
Temporary plugin state directory (absolute path). | |
uint32_t | event_delta_t |
Frames since last update sent to UI. | |
uint32_t | midi_event_id |
MIDI event class ID in event context. | |
bool | exit |
True iff execution is finished. | |
bool | request_update |
Whether a plugin update is needed. | |
bool | safe_restore |
Whether plugin restore() is thread-safe. | |
bool | has_default_state |
Whether the plugin has a default state that must be loaded before running run() for the first time. | |
int | control_in |
Index of control input port, or -1 if no port with "control" designation found. | |
int | enabled_in |
Index of enabled port, or -1 if no port with "enabled" designation found. | |
ZixSem | exit_sem |
Exit semaphore. | |
bool | want_position |
Whether the plugin has at least 1 atom port that supports position. | |
bool | has_external_ui |
Whether the plugin has an external UI. | |
LV2_External_UI_Widget * | external_ui_widget |
Data structure used for external UIs. | |
bool | updating |
LV2_URID_Map | map |
URI => Int map. | |
LV2_URID_Unmap | unmap |
Int => URI map. | |
SerdEnv * | env |
Environment for RDF printing. | |
int | rolling |
Transport was rolling or not last cycle. | |
unsigned_frame_t | gframes |
Global (start) frames the plugin was last processed at. | |
float | bpm |
Last BPM known by the plugin. | |
Plugin * | plugin |
Base Plugin instance (parent). | |
LV2_External_UI_Host | extui |
Used for external UIs. | |
LV2_State_Make_Path | make_path_temp |
Make path feature data. | |
LV2_Worker_Schedule | sched |
Plugin worker schedule. | |
LV2_Worker_Schedule | ssched |
State worker schedule. | |
LV2_Log_Log | llog |
Log. | |
int | magic |
LV2 plugin.
Definition at line 143 of file lv2_plugin.h.
LV2_Feature Lv2Plugin::bounded_block_length_feature |
Definition at line 157 of file lv2_plugin.h.
float Lv2Plugin::bpm |
Last BPM known by the plugin.
Definition at line 309 of file lv2_plugin.h.
uint32_t Lv2Plugin::comm_buffer_size |
Plugin <=> UI communication buffer size.
Definition at line 188 of file lv2_plugin.h.
int Lv2Plugin::control_in |
Index of control input port, or -1 if no port with "control" designation found.
Definition at line 267 of file lv2_plugin.h.
LV2_Feature Lv2Plugin::data_access_feature |
Definition at line 155 of file lv2_plugin.h.
LV2_Feature Lv2Plugin::def_state_feature |
Definition at line 153 of file lv2_plugin.h.
LV2_Atom_Forge Lv2Plugin::dsp_forge |
Atom forge (DSP thread).
Definition at line 201 of file lv2_plugin.h.
int Lv2Plugin::enabled_in |
Index of enabled port, or -1 if no port with "enabled" designation found.
Definition at line 275 of file lv2_plugin.h.
SerdEnv* Lv2Plugin::env |
Environment for RDF printing.
Definition at line 299 of file lv2_plugin.h.
uint32_t Lv2Plugin::event_delta_t |
Frames since last update sent to UI.
Definition at line 240 of file lv2_plugin.h.
bool Lv2Plugin::exit |
True iff execution is finished.
Definition at line 243 of file lv2_plugin.h.
ZixSem Lv2Plugin::exit_sem |
Exit semaphore.
Definition at line 278 of file lv2_plugin.h.
LV2_Extension_Data_Feature Lv2Plugin::ext_data_feature |
Data access feature.
An instance of this will be passed to the plugin UI after instantiating the plugin, if the plugin requires data access.
Definition at line 185 of file lv2_plugin.h.
LV2_External_UI_Widget* Lv2Plugin::external_ui_widget |
Data structure used for external UIs.
Definition at line 288 of file lv2_plugin.h.
LV2_External_UI_Host Lv2Plugin::extui |
Used for external UIs.
Definition at line 315 of file lv2_plugin.h.
const LV2_Feature* Lv2Plugin::features[13] |
Supported features passed when instantiating plugins.
Definition at line 163 of file lv2_plugin.h.
unsigned_frame_t Lv2Plugin::gframes |
Global (start) frames the plugin was last processed at.
Definition at line 306 of file lv2_plugin.h.
LV2_Feature Lv2Plugin::hard_rt_capable_feature |
Definition at line 154 of file lv2_plugin.h.
bool Lv2Plugin::has_default_state |
Whether the plugin has a default state that must be loaded before running run() for the first time.
Definition at line 259 of file lv2_plugin.h.
bool Lv2Plugin::has_external_ui |
Whether the plugin has an external UI.
Definition at line 285 of file lv2_plugin.h.
LilvInstance* Lv2Plugin::instance |
Plugin instance (shared library).
Definition at line 224 of file lv2_plugin.h.
LV2_Feature Lv2Plugin::instance_access_feature |
Definition at line 156 of file lv2_plugin.h.
const LilvPlugin* Lv2Plugin::lilv_plugin |
Plugin class (RDF data).
Definition at line 219 of file lv2_plugin.h.
LV2_Log_Log Lv2Plugin::llog |
Log.
Definition at line 329 of file lv2_plugin.h.
LV2_Feature Lv2Plugin::log_feature |
Definition at line 151 of file lv2_plugin.h.
int Lv2Plugin::magic |
Definition at line 333 of file lv2_plugin.h.
LV2_Atom_Forge Lv2Plugin::main_forge |
Atom forge (main/GTK thread).
Definition at line 199 of file lv2_plugin.h.
LV2_State_Make_Path Lv2Plugin::make_path_temp |
Make path feature data.
Definition at line 320 of file lv2_plugin.h.
LV2_Feature Lv2Plugin::make_path_temp_feature |
Definition at line 147 of file lv2_plugin.h.
LV2_URID_Map Lv2Plugin::map |
URI => Int map.
Definition at line 293 of file lv2_plugin.h.
LV2_Feature Lv2Plugin::map_feature |
Definition at line 145 of file lv2_plugin.h.
uint32_t Lv2Plugin::midi_event_id |
MIDI event class ID in event context.
Definition at line 242 of file lv2_plugin.h.
LV2_Options_Option Lv2Plugin::options[10] |
Options to pass to plugin on instantiation.
Definition at line 174 of file lv2_plugin.h.
LV2_Feature Lv2Plugin::options_feature |
Definition at line 152 of file lv2_plugin.h.
const LV2_Options_Interface* Lv2Plugin::options_iface |
Options interface for setting plugin options dynamically.
Definition at line 196 of file lv2_plugin.h.
Plugin* Lv2Plugin::plugin |
Base Plugin instance (parent).
Definition at line 312 of file lv2_plugin.h.
ZixRing* Lv2Plugin::plugin_to_ui_events |
Port events from plugin to UI.
Definition at line 209 of file lv2_plugin.h.
LilvState* Lv2Plugin::preset |
Current preset.
Definition at line 221 of file lv2_plugin.h.
bool Lv2Plugin::request_update |
Whether a plugin update is needed.
Definition at line 246 of file lv2_plugin.h.
int Lv2Plugin::rolling |
Transport was rolling or not last cycle.
Definition at line 302 of file lv2_plugin.h.
bool Lv2Plugin::safe_restore |
Whether plugin restore() is thread-safe.
Definition at line 249 of file lv2_plugin.h.
LV2_Feature Lv2Plugin::safe_restore_feature |
Definition at line 150 of file lv2_plugin.h.
LV2_Worker_Schedule Lv2Plugin::sched |
Plugin worker schedule.
Definition at line 323 of file lv2_plugin.h.
LV2_Feature Lv2Plugin::sched_feature |
Definition at line 148 of file lv2_plugin.h.
Sratom* Lv2Plugin::sratom |
Atom serializer.
Definition at line 203 of file lv2_plugin.h.
LV2_Worker_Schedule Lv2Plugin::ssched |
State worker schedule.
Definition at line 326 of file lv2_plugin.h.
const LV2_Feature* Lv2Plugin::state_features[7] |
Features that are passed to state extension calls, such as when saving the state.
Definition at line 169 of file lv2_plugin.h.
LV2_Feature Lv2Plugin::state_sched_feature |
Definition at line 149 of file lv2_plugin.h.
Lv2Worker Lv2Plugin::state_worker |
Synchronous worker for state restore.
Definition at line 215 of file lv2_plugin.h.
SuilHost* Lv2Plugin::suil_host |
Plugin UI host support.
Definition at line 227 of file lv2_plugin.h.
SuilInstance* Lv2Plugin::suil_instance |
Plugin UI instance (shared library).
Definition at line 229 of file lv2_plugin.h.
char* Lv2Plugin::temp_dir |
Temporary plugin state directory (absolute path).
This is created at runtime and remembered.
Definition at line 237 of file lv2_plugin.h.
void* Lv2Plugin::ui_event_buf |
Buffer for readding UI port events.
Definition at line 211 of file lv2_plugin.h.
Sratom* Lv2Plugin::ui_sratom |
Atom serializer for UI thread.
Definition at line 205 of file lv2_plugin.h.
ZixRing* Lv2Plugin::ui_to_plugin_events |
Port events from UI to plugin.
Definition at line 207 of file lv2_plugin.h.
LV2_URID_Unmap Lv2Plugin::unmap |
Int => URI map.
Definition at line 296 of file lv2_plugin.h.
LV2_Feature Lv2Plugin::unmap_feature |
Definition at line 146 of file lv2_plugin.h.
bool Lv2Plugin::updating |
Definition at line 290 of file lv2_plugin.h.
bool Lv2Plugin::want_position |
Whether the plugin has at least 1 atom port that supports position.
Definition at line 282 of file lv2_plugin.h.
ZixSem Lv2Plugin::work_lock |
Lock for plugin work() method.
Definition at line 217 of file lv2_plugin.h.
Lv2Worker Lv2Plugin::worker |
Worker thread implementation.
Definition at line 213 of file lv2_plugin.h.