TracklistSelectionsAction struct
Tracklist selections (tracks) action.
Contents
- Reference
Public variables
- TracklistSelectionsActionType type
- Type of action.
- int track_pos
- Position to make the tracks at.
- int lane_pos
- Lane position, if editing lane.
- 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.
- char* file_basename
- The basename of the file, if any.
- char* base64_midi
- If this is an action to create a MIDI track from a MIDI file, this is the base64 representation so that the file does not need to be stored in the project.
- int pool_id
- If this is an action to create an Audio track from an audio file, this is the pool ID of the audio file.
- ChannelSend** src_sends
- Source sends that need to be deleted/ recreated on do/undo.
- unsigned int* out_tracks
- Direct out tracks of the original tracks.
- int num_fold_change_tracks
- Number of tracks under folder affected.
- int tracks_before
- Track positions.
- TracklistSelections* tls_before
- Clone of the TracklistSelections, if applicable.
- TracklistSelections* tls_after
- Clone of the TracklistSelections, if applicable.
- TracklistSelections* foldable_tls_before
- Foldable tracks before the change, used when undoing to set the correct sizes.
- 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.
- int* ival_before
- Int value.
- bool already_edited
- Skip do if true.
- float val_before
- Float values.
Variable documentation
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.
char* TracklistSelectionsAction:: file_basename
The basename of the file, if any.
This will be used as the track name.
char* TracklistSelectionsAction:: base64_midi
If this is an action to create a MIDI track from a MIDI file, this is the base64 representation so that the file does not need to be stored in the project.
int TracklistSelectionsAction:: pool_id
If this is an action to create an Audio track from an audio file, this is the pool ID of the audio file.
If this is not -1, this means that an audio file exists in the pool.
unsigned int* TracklistSelectionsAction:: out_tracks
Direct out tracks of the original tracks.
These are track name hashes.
int TracklistSelectionsAction:: num_fold_change_tracks
Number of tracks under folder affected.
Counter to be filled while doing to be used when undoing.
int TracklistSelectionsAction:: tracks_before
Track positions.
Used for actions where full selection clones are not needed.