Scroll to navigation

Mix_RewindMusic(3) SDL_mixer3 FUNCTIONS Mix_RewindMusic(3)

NAME

Mix_RewindMusic - Rewind the music stream.

SYNOPSIS

#include "SDL3_mixer/SDL_mixer.h"
void Mix_RewindMusic(void);

DESCRIPTION

This causes the currently-playing music to start mixing from the beginning of the music, as if it were just started.

It's a legal no-op to rewind the music stream when not playing.

AVAILABILITY

This function is available since SDL_mixer 3.0.0.

SDL_mixer 3.0.0 SDL_mixer