Zrythm
a highly automated and intuitive digital audio workstation
|
Tracklist selections (tracks) action. More...
#include <actions/tracklist_selections.h>
Data Fields | |
UndoableAction | parent_instance |
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. | |
bool | have_pos |
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. | |
int | num_src_sends |
size_t | src_sends_size |
unsigned int * | out_tracks |
Direct out tracks of the original tracks. | |
int | num_out_tracks |
int | num_fold_change_tracks |
Number of tracks under folder affected. | |
EditTrackActionType | edit_type |
int | tracks_before [600] |
Track positions. | |
int | tracks_after [600] |
int | num_tracks |
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. | |
int | ival_after |
GdkRGBA * | colors_before |
GdkRGBA | new_color |
char * | new_txt |
bool | already_edited |
Skip do if true. | |
float | val_before |
Float values. | |
float | val_after |
Tracklist selections (tracks) action.
Definition at line 67 of file tracklist_selections.h.
bool TracklistSelectionsAction::already_edited |
Skip do if true.
Definition at line 205 of file tracklist_selections.h.
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.
Definition at line 119 of file tracklist_selections.h.
GdkRGBA* TracklistSelectionsAction::colors_before |
Definition at line 199 of file tracklist_selections.h.
PortConnectionsManager* TracklistSelectionsAction::connections_mgr_after |
A clone of the port connections after applying the action.
Definition at line 185 of file tracklist_selections.h.
PortConnectionsManager* TracklistSelectionsAction::connections_mgr_before |
A clone of the port connections at the start of the action.
Definition at line 181 of file tracklist_selections.h.
EditTrackActionType TracklistSelectionsAction::edit_type |
Definition at line 153 of file tracklist_selections.h.
char* TracklistSelectionsAction::file_basename |
The basename of the file, if any.
This will be used as the track name.
Definition at line 108 of file tracklist_selections.h.
TracklistSelections* TracklistSelectionsAction::foldable_tls_before |
Foldable tracks before the change, used when undoing to set the correct sizes.
Definition at line 177 of file tracklist_selections.h.
bool TracklistSelectionsAction::have_pos |
Definition at line 86 of file tracklist_selections.h.
int TracklistSelectionsAction::is_empty |
Flag to know if we are making an empty track.
Definition at line 93 of file tracklist_selections.h.
int TracklistSelectionsAction::ival_after |
Definition at line 195 of file tracklist_selections.h.
int* TracklistSelectionsAction::ival_before |
int TracklistSelectionsAction::lane_pos |
Lane position, if editing lane.
Definition at line 80 of file tracklist_selections.h.
GdkRGBA TracklistSelectionsAction::new_color |
Definition at line 200 of file tracklist_selections.h.
char* TracklistSelectionsAction::new_txt |
Definition at line 202 of file tracklist_selections.h.
int TracklistSelectionsAction::num_fold_change_tracks |
Number of tracks under folder affected.
Counter to be filled while doing to be used when undoing.
Definition at line 151 of file tracklist_selections.h.
int TracklistSelectionsAction::num_out_tracks |
Definition at line 143 of file tracklist_selections.h.
int TracklistSelectionsAction::num_src_sends |
Definition at line 134 of file tracklist_selections.h.
int TracklistSelectionsAction::num_tracks |
Definition at line 163 of file tracklist_selections.h.
unsigned int* TracklistSelectionsAction::out_tracks |
Direct out tracks of the original tracks.
These are track name hashes.
Definition at line 142 of file tracklist_selections.h.
UndoableAction TracklistSelectionsAction::parent_instance |
Definition at line 69 of file tracklist_selections.h.
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.
Definition at line 101 of file tracklist_selections.h.
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.
Definition at line 129 of file tracklist_selections.h.
Position TracklistSelectionsAction::pos |
Position to add the audio region to, if applicable.
Definition at line 84 of file tracklist_selections.h.
ChannelSend** TracklistSelectionsAction::src_sends |
Source sends that need to be deleted/ recreated on do/undo.
Definition at line 133 of file tracklist_selections.h.
size_t TracklistSelectionsAction::src_sends_size |
Definition at line 135 of file tracklist_selections.h.
TracklistSelections* TracklistSelectionsAction::tls_after |
Clone of the TracklistSelections, if applicable.
Definition at line 171 of file tracklist_selections.h.
TracklistSelections* TracklistSelectionsAction::tls_before |
Clone of the TracklistSelections, if applicable.
Definition at line 167 of file tracklist_selections.h.
int TracklistSelectionsAction::track_pos |
Position to make the tracks at.
Used when undoing too.
Definition at line 77 of file tracklist_selections.h.
TrackType TracklistSelectionsAction::track_type |
Track type.
Definition at line 89 of file tracklist_selections.h.
int TracklistSelectionsAction::tracks_after[600] |
Definition at line 162 of file tracklist_selections.h.
int TracklistSelectionsAction::tracks_before[600] |
Track positions.
Used for actions where full selection clones are not needed.
Definition at line 161 of file tracklist_selections.h.
TracklistSelectionsActionType TracklistSelectionsAction::type |
Type of action.
Definition at line 72 of file tracklist_selections.h.
float TracklistSelectionsAction::val_after |
Definition at line 209 of file tracklist_selections.h.
float TracklistSelectionsAction::val_before |
Float values.
Definition at line 208 of file tracklist_selections.h.