Contents

MusicPlayerStop(_:)

Stops playback of a music player.

Declaration

func MusicPlayerStop(_ inPlayer: MusicPlayer) -> OSStatus

Parameters

  • inPlayer:

    The music player to stop.

Return Value

A result code

Discussion

Music players must be explicitly stopped. Specifically, a music player does not automatically stop when its associated music sequence has been completely played.

See Also

Managing a Music Player