LMMS
Loading...
Searching...
No Matches
_LV2_ControlInputPort_Change_Request Struct Reference

#include <control-input-port-change-request.h>

Public Attributes

LV2_ControlInputPort_Change_Request_Handle handle
LV2_ControlInputPort_Change_Status(* request_change )(LV2_ControlInputPort_Change_Request_Handle handle, uint32_t index, float value)

Detailed Description

On instantiation, host must supply LV2_CONTROL_INPUT_PORT_CHANGE_REQUEST_URI feature. LV2_Feature::data must be pointer to LV2_ControlInputPort_Change_Request.

Member Data Documentation

◆ handle

LV2_ControlInputPort_Change_Request_Handle _LV2_ControlInputPort_Change_Request::handle

Opaque host data.

◆ request_change

LV2_ControlInputPort_Change_Status(* _LV2_ControlInputPort_Change_Request::request_change) (LV2_ControlInputPort_Change_Request_Handle handle, uint32_t index, float value)

request_change()

Ask the host to change a plugin's control input port value. Parameter handle MUST be the 'handle' member of this struct. Parameter index is port index to change. Parameter value is the requested value to change the control port input to.

Returns status of the request. The host may decline this request, if e.g. it is currently automating this port.

The plugin MUST call this function during run().


The documentation for this struct was generated from the following file: