Scroll to navigation

MIX_ResumeAllTracks(3) SDL_mixer3 FUNCTIONS MIX_ResumeAllTracks(3)

NAME

MIX_ResumeAllTracks - Resume all currently-paused tracks.

SYNOPSIS

#include <SDL3_mixer/SDL_mixer.h>
bool MIX_ResumeAllTracks(MIX_Mixer *mixer);

DESCRIPTION

A paused track is not considered "stopped," so its MIX_TrackStoppedCallback will not fire if paused, but it won't change state by default, generate audio, or generally make progress, until it is resumed.

This function makes all tracks on the specified mixer that are currently paused move to a playing state.

FUNCTION PARAMETERS

the mixer on which to resume all tracks.

RETURN VALUE

Returns true on success, false on error; call SDL_GetError() for details.

THREAD SAFETY

It is safe to call this function from any thread.

AVAILABILITY

This function is available since SDL_mixer 3.0.0.

SEE ALSO

MIX_PauseTrack(3), MIX_PauseAllTracks(3)

SDL_mixer 3.2.0 SDL_mixer