GetMP3PosMillis ()
Returns the position of the currently playing MP3 or OGG background music
file, in milliseconds from the start.
If the current track is not an MP3 or OGG track, returns 0.
If the background music is currently crossfading between two tracks, this returns
the position of the old track which is fading out.
Example:
if (GetMP3PosMillis() > 30000)
SeekMP3PosMillis(0);
will loop the track back to the start after 30 seconds.
See Also: SeekMP3PosMillis
|