lilv.instance

class Instance

Types 1

A running LV2 plugin instance.

The connect/run/activate family is real-time safe when the plugin advertises lv2:hardRTCapable.

Fields
private LilvInstance * _cPtr
private World _world
Methods
LilvInstance * handle() @property @nogc nothrow
World world() @property @nogc nothrow
string uri() @propertyInstance URI
void connectPort(uint portIndex, void * dataLocation) @nogc nothrowConnect a port to a data location.
void activate() @nogc nothrowActivate a plugin instance
void run(uint sampleCount) @nogc nothrowRun instance for sample_count frames.
void deactivate() @nogc nothrowDeactivate a plugin instance.
const(void) * extensionData(const(char) * uri) @nogc nothrowGet extension data from the plugin instance. Real-time safe. The type and semantics of the data returned is specific to the particular extension.
const(void) * extensionData(string uri) nothrowGet extension data from the plugin instance. NOT real-time safe (may allocate). The type and semantics of the data returned is specific to the particular extension.
const(LV2_Descriptor) * descriptor() @property @nogc nothrowGet the LV2_Descriptor of the plugin instance.
LV2_Handle lv2Handle() @property @nogc nothrowGet the LV2_Handle of the plugin instance.
Constructors
this(LilvInstance * p, World world)
Destructors