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.
PluginSetting* pl_setting
PluginSetting, 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* out_tracks
Direct out tracks of the original tracks.
int tracks_before
Track positions.
TracklistSelections* tls_before
Clone of the TracklistSelections, if applicable.
TracklistSelections* tls_after
Clone of the TracklistSelections, if applicable.
int* ival_before
Int value.
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.

PluginSetting* TracklistSelectionsAction::pl_setting

PluginSetting, 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.

int* TracklistSelectionsAction::ival_before

Int value.

Also used for bool.