Function

MusicPlayerSetSequence

Sets the music sequence for the music player to play.

Declaration

OSStatus MusicPlayerSetSequence(MusicPlayer inPlayer, MusicSequence inSequence);

Parameters

inPlayer

The music player you are configuring.

inSequence

The music sequence for the music player to play.

Return Value

A result code

Discussion

A music player must be stopped to call this function on it. Setting a music sequence for a player overrides the previously set sequence.

See Also