Tao.Sdl SDK Documentation

SdlMixer.Mix_RewindMusic Method 

Rewind music to beginning

[Visual Basic]
Public Shared Sub Mix_RewindMusic()
[C#]
public static void Mix_RewindMusic();

Remarks

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.

Binds to C-function in SDL_mixer.h

void Mix_RewindMusic()
            

Example

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

See Also

SdlMixer Class | Tao.Sdl Namespace | Mix_PlayMusic