Contents

MusicTrackSetDestNode(_:_:)

Sets the music track’s event target to an audio unit node.

Declaration

func MusicTrackSetDestNode(_ inTrack: MusicTrack, _ inNode: AUNode) -> OSStatus

Parameters

  • inTrack:

    The music track that you want to set a target audio unit node for.

  • inNode:

    The node that you specifying as the target for music track.

Return Value

A result code.

Discussion

The audio unit node that you specify must be a member of the audio processing graph that the music track’s sequence is using. When played, the track sends its events to that node.

See Also

Managing Music Tracks