Get current status of an SPPlayer.
int32 spGetPlayerStatus (const SPPlayer *player)
Returns a set of flags indicating the current state of an SPPlayer. The most useful thing about this function is that it can be used to find out when an SPPlayer has finished playing.
Any combination of the following SP_STATUS_F_ flags (always a non-negative value):
SP_STATUS_F_BUFFER_ACTIVE
spStartReading()
and cleared when there is no more to read (by spStartReading()
or spService()
), or when spStop()
is called.spStartPlaying()
and cleared by spStop()
.spPause()
and cleared by spResume()
, spStop()
, spStartPlaying()
. This flag is really only meaningful when SP_STATUS_F_PLAYING is set.Library call implemented in music.lib V24.
soundplayer.h, music.lib
spStartReading
(), spStartPlaying(), spStop()