Function

NewMusicPlayer

Creates a new music player.

Declaration

OSStatus NewMusicPlayer(MusicPlayer  _Nullable *outPlayer);

Parameters

outPlayer

On output, the newly created music player.

Return Value

A result code

Discussion

A music player can send its output to an audio processing graph, to a MIDI endpoint, or to a combination of both.