MusicTrackSetDestNode(_:_:)
Sets the music track’s event target to an audio unit node.
Declaration
func MusicTrackSetDestNode(_ inTrack: MusicTrack, _ inNode: AUNode) -> OSStatusParameters
- 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
MusicTrackClear(_:_:_:)MusicTrackCopyInsert(_:_:_:_:_:)MusicTrackCut(_:_:_:)MusicTrackGetDestMIDIEndpoint(_:_:)MusicTrackGetDestNode(_:_:)MusicTrackGetProperty(_:_:_:_:)MusicTrackGetSequence(_:_:)MusicTrackMerge(_:_:_:_:_:)MusicTrackMoveEvents(_:_:_:_:)MusicTrackNewAUPresetEvent(_:_:_:)MusicTrackNewExtendedNoteEvent(_:_:_:)MusicTrackNewExtendedTempoEvent(_:_:_:)MusicTrackNewMIDIChannelEvent(_:_:_:)MusicTrackNewMIDINoteEvent(_:_:_:)MusicTrackNewMIDIRawDataEvent(_:_:_:)