10#ifndef __AUDIO_GROUP_TARGET_TRACK_H__
11#define __AUDIO_GROUP_TARGET_TRACK_H__
17#define TRACK_CAN_BE_GROUP_TARGET(tr) \
19 && (tr->type == TRACK_TYPE_AUDIO_GROUP || tr->type == TRACK_TYPE_MIDI_GROUP || tr->type == TRACK_TYPE_INSTRUMENT || tr->type == TRACK_TYPE_MASTER))
22group_target_track_init_loaded (
Track * self);
25group_target_track_init (
Track * track);
33 unsigned int child_name_hash,
58 unsigned int child_name_hash,
64group_target_track_validate (
Track * self);
67group_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 PURE 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.