[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

4.5.12 Mix_RewindMusic

void Mix_RewindMusic()

Rewind the music to the start. This is safe to use on halted, paused, and already playing music. It is not useful to rewind the music immediately after starting playback, because it starts at the beginning by default.

This function only works for these streams: MOD, OGG, MP3, Native MIDI.

 
// rewind music playback to the start
Mix_RewindMusic();

See Also:
4.5.5 Mix_PlayMusic



This document was generated on November, 13 2009 using texi2html