10#ifndef __AUDIO_GROUP_TARGET_TRACK_H__
11#define __AUDIO_GROUP_TARGET_TRACK_H__
15#define TRACK_CAN_BE_GROUP_TARGET(tr) \
17 && (tr->type == TrackType::TRACK_TYPE_AUDIO_GROUP || tr->type == TrackType::TRACK_TYPE_MIDI_GROUP || tr->type == TrackType::TRACK_TYPE_INSTRUMENT || tr->type == TrackType::TRACK_TYPE_MASTER))
20group_target_track_init_loaded (
Track * self);
23group_target_track_init (
Track * track);
31 unsigned int child_name_hash,
56 unsigned int child_name_hash,
62group_target_track_validate (
Track * self);
65group_target_track_add_children (
void group_target_track_remove_child(Track *self, unsigned int child_name_hash, bool disconnect, bool recalc_graph, bool pub_events)
Removes a child track from the list of children.
void group_target_track_remove_all_children(Track *self, bool disconnect, bool recalc_graph, bool pub_events)
Remove all known children.
NONNULL int group_target_track_find_child(Track *self, unsigned int track_name_hash)
Returns the index of the child matching the given hash.
void group_target_track_add_child(Track *self, unsigned int child_name_hash, bool connect, bool recalc_graph, bool pub_events)
Adds a child track to the list of children.
Track to be inserted into the Project's Tracklist.
unsigned int * children
Name hashes of tracks that are routed to this track, if group track.