Automatable struct

An automatable control.

Contents

These are not meant to be serialized and are generated at run time.

Public variables

int index
Index in its parent.
Port* port
Pointer to the Port, if plugin port.
PortIdentifier* port_id
Port identifier, used when saving/loading so we can fetch the port.
Track* track
Pointer to the control, if LV2 plugin.
int track_id
Used when saving/loading projects.
int slot
Slot, if plugin automation.
Plugin* plugin
Plugin, for convenience, if plugin automation.
char* label
Human friendly label.
AutomatableType type
Volume/pan/plugin control/etc.

Variable documentation

PortIdentifier* Automatable::port_id

Port identifier, used when saving/loading so we can fetch the port.

It is a pointer so it can be NULL.

Track* Automatable::track

Pointer to the control, if LV2 plugin.

When loading, this can be fetched using the port.

FIXME use a getter, having this everywhere is confusing.Associated track.