Contents

MusicPlayerGetSequence(_:_:)

Gets the music sequence associated with a music player.

Declaration

func MusicPlayerGetSequence(_ inPlayer: MusicPlayer, _ outSequence: UnsafeMutablePointer<MusicSequence?>) -> OSStatus

Parameters

  • inPlayer:

    The music player whose music sequence you want to get.

  • outSequence:

    On output, the music sequence associated with the music player.

Return Value

A result code. If the music player does not have a sequence set, this function returns kAudioToolboxErr_NoSequence.

See Also

Managing a Music Player