Contents

MusicSequenceSetMIDIEndpoint(_:_:)

Associates a specified MIDI endpoint with all music tracks in a music sequence.

Declaration

func MusicSequenceSetMIDIEndpoint(_ inSequence: MusicSequence, _ inEndpoint: MIDIEndpointRef) -> OSStatus

Parameters

  • inSequence:

    The music sequence that you want to associate with a MIDI endpoint.

  • inEndpoint:

    The MIDI endpoint to associate with the music sequence.

Return Value

A result code.

Discussion

This is a convenience function, equivalent to iterating through the music tracks in a music sequence and targeting each to the MIDI endpoint.

See Also

Managing Music Sequences