LV2_Descriptor

Plugin Descriptor.

This structure provides the core functions necessary to instantiate and use a plugin.

Members

Variables

URI
const(char)* URI;

A globally unique, case-sensitive identifier for this plugin.

activate
void function(LV2_Handle instance) activate;

Initialise a plugin instance and activate it for use.

cleanup
void function(LV2_Handle instance) cleanup;

Clean up a plugin instance (counterpart to instantiate()).

connect_port
void function(LV2_Handle instance, uint32_t port, void* data_location) connect_port;

Connect a port on a plugin instance to a memory location.

deactivate
void function(LV2_Handle instance) deactivate;

Deactivate a plugin instance (counterpart to activate()).

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

Return additional plugin data defined by some extenion.

instantiate
LV2_Handle function(const LV2_Descriptor* descriptor, double sample_rate, const char* bundle_path, const(LV2_Feature*)* features) nothrow @(nogc) instantiate;

Instantiate the plugin.

run
void function(LV2_Handle instance, uint32_t sample_count) run;

Run a plugin instance for a block.

Meta