Function

MusicPlayerSetTime

Sets the playback point for a music player, in beats.

Declaration

OSStatus MusicPlayerSetTime(MusicPlayer inPlayer, MusicTimeStamp inTime);

Parameters

inPlayer

The music player you want to set the playback point on.

inTime

The time, in beats, to set the playback point to.

Return Value

A result code

Discussion

You can call this function while a music player is stopped or playing. If playing at the time of the call, playback continues at the specified point. No range checking on the inTime value is performed by this function.

See Also