MusicTrackGetDestNode

Function MusicTrackGetDestNode 

Source
pub unsafe extern "C-unwind" fn MusicTrackGetDestNode(
    in_track: MusicTrack,
    out_node: NonNull<AUNode>,
) -> i32
Available on crate features AUGraph and MusicPlayer only.
Expand description

Gets the track’s target if it is an AUNode

Returns kAudioToolboxErr_IllegalTrackDestination if the track’s target is a MIDIEndpointRef and NOT an AUNode

Parameter inTrack: the track

Parameter outNode: the node target for the track

§Safety

  • in_track must be a valid pointer.
  • out_node must be a valid pointer.