plugins/lv2/lv2_control.h file

Contents

Internal API for LV2 controls

Classes

struct Lv2ControlChange
Control change event, sent through ring buffers for UI updates.
struct Lv2Control
Plugin control.

Enums

enum Lv2ControlType { PORT, PROPERTY }
Type of plugin control.

Typedefs

using Lv2Plugin = struct Lv2Plugin
LV2 plugin.
using Lv2Control = struct Lv2Control
Plugin control.

Functions

auto lv2_scale_point_cmp(const Lv2ScalePoint* a, const Lv2ScalePoint* b) -> int
Order scale points by value.
auto lv2_control_get_label(const Lv2Control* control) -> const char*
Returns the human readable control label.
auto lv2_control_get_from_port(Lv2Port* port) -> Lv2Control*
Returns the Lv2Control from the port index.

Enum documentation

enum Lv2ControlType

Type of plugin control.

Enumerators
PORT

Control port.

PROPERTY

Property (set via atom message)