audio/group_target_track.h file

Common logic for tracks that can be group targets.

Contents

Functions

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.
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.
auto group_target_track_find_child(Track* self, unsigned int track_name_hash) -> NONNULL PURE int
Returns the index of the child matching the given hash.

Function documentation

void group_target_track_remove_all_children(Track* self, bool disconnect, bool recalc_graph, bool pub_events)

Remove all known children.

Parameters
self
disconnect Also route the children to "None".
recalc_graph
pub_events

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.

Parameters
self
child_name_hash
connect Connect the child to the group track.
recalc_graph
pub_events