Type Definition lv2_raw::ui::LV2UIWriteFunctionRaw
[−]
[src]
type LV2UIWriteFunctionRaw = Option<extern "C" fn(_: LV2UIControllerRaw, _: c_uint, _: c_uint, _: c_uint, _: *const c_void)>;
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.