Contents

MusicPlayerStart(_:)

Starts playback of a music player.

Declaration

func MusicPlayerStart(_ inPlayer: MusicPlayer) -> OSStatus

Parameters

  • inPlayer:

    The music player to start.

Return Value

A result code

Discussion

If you call this function without first calling MusicPlayerPreroll(_:), the player will call that function before beginning playback.

See Also

Managing a Music Player