NewMusicPlayer(_:)
Creates a new music player.
Declaration
func NewMusicPlayer(_ outPlayer: UnsafeMutablePointer<MusicPlayer?>) -> OSStatusParameters
- 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.
See Also
Managing a Music Player
DisposeMusicPlayer(_:)MusicPlayerGetBeatsForHostTime(_:_:_:)MusicPlayerGetHostTimeForBeats(_:_:_:)MusicPlayerGetPlayRateScalar(_:_:)MusicPlayerGetSequence(_:_:)MusicPlayerGetTime(_:_:)MusicPlayerIsPlaying(_:_:)MusicPlayerPreroll(_:)MusicPlayerSetPlayRateScalar(_:_:)MusicPlayerSetSequence(_:_:)MusicPlayerSetTime(_:_:)MusicPlayerStart(_:)MusicPlayerStop(_:)MusicPlayerMusicTimeStamp