TracklistSelectionsAction struct

Tracklist selections (tracks) action.

Contents

Public variables

TracklistSelectionsActionType type
Type of action.
int track_pos
Position to make the tracks at.
Position pos
Position to add the audio region to, if applicable.
TrackType track_type
Track type.
int is_empty
Flag to know if we are making an empty track.
PluginDescriptor pl_descr
PluginDescriptor, if making an instrument or bus track from a plugin.
SupportedFile* file_descr
Filename, if we are making an audio track from a file.
int pool_id
When this action is created, it will create the audio file and add it to the pool.
ChannelSend* src_sends
Source sends that need to be deleted/ recreated on do/undo.
int tracks_before
Track positions.
TracklistSelections* tls_before
Clone of the TracklistSelections, if applicable.
TracklistSelections* tls_after
Clone of the TracklistSelections, if applicable.
int solo_new
New solo value 1 or 0.
int mute_new
New mute value 1 or 0.
int new_direct_out_pos
Track position to direct output to.
bool already_edited
Skip do if true.
float val_before
Float values.

Variable documentation

int TracklistSelectionsAction::track_pos

Position to make the tracks at.

Used when undoing too.

PluginDescriptor TracklistSelectionsAction::pl_descr

PluginDescriptor, if making an instrument or bus track from a plugin.

If this is empty and the track type is instrument, it is assumed that it's an empty track.

int TracklistSelectionsAction::pool_id

When this action is created, it will create the audio file and add it to the pool.

New audio regions should use this ID to avoid duplication.

int TracklistSelectionsAction::tracks_before

Track positions.

Used for actions where full selection clones are not needed.