MixerSelectionsAction struct

Restrict selections to a channel.

Contents

Public variables

PluginSlotType slot_type
Type of starting slot to move plugins to.
int to_slot
Starting target slot.
unsigned int to_track_name_hash
To track position.
bool new_channel
Whether the plugins will be copied/moved into a new channel, if applicable.
int num_plugins
Number of plugins to create, when creating new plugins.
PluginSetting* setting
PluginSetting to use when creating.
MixerSelections* ms_before
Clone of mixer selections at start.
MixerSelections* deleted_ms
Deleted plugins (ie, plugins replaced during move/copy).
AutomationTrack* deleted_ats
Automation tracks associated with the deleted plugins.
AutomationTrack* ats
Automation tracks associated with the plugins.
PortConnectionsManager* connections_mgr_before
A clone of the port connections at the start of the action.
PortConnectionsManager* connections_mgr_after
A clone of the port connections after applying the action.

Variable documentation

int MixerSelectionsAction::to_slot

Starting target slot.

The rest of the slots will start from this so they can be calculated when doing/undoing.

MixerSelections* MixerSelectionsAction::deleted_ms

Deleted plugins (ie, plugins replaced during move/copy).

Used during undo to bring them back.

AutomationTrack* MixerSelectionsAction::deleted_ats

Automation tracks associated with the deleted plugins.

These are used when undoing so we can readd the automation events, if applicable.

AutomationTrack* MixerSelectionsAction::ats

Automation tracks associated with the plugins.

These are used when undoing so we can readd the automation events, if applicable.