LV2UI_Write_Function

A host-provided function that sends data to a plugin's input ports.

@param controller The opaque controller pointer passed to LV2UI_Descriptor::instantiate().

@param port_index Index of the port to update.

@param buffer Buffer containing buffer_size bytes of data.

@param buffer_size Size of buffer in bytes.

@param port_protocol Either 0 or the URID for a ui:PortProtocol. If 0, the protocol is implicitly ui:floatProtocol, the port MUST be an lv2:ControlPort input, buffer MUST point to a single float value, and buffer_size MUST be sizeof(float). The UI SHOULD NOT use a protocol not supported by the host, but the host MUST gracefully ignore any protocol it does not understand.

version(LV2)
extern (C) nothrow @nogc
alias LV2UI_Write_Function = void function
(,
uint32_t port_index
,
uint32_t buffer_size
,
uint32_t port_protocol
,
const void* buffer
)

Meta