Scroll to navigation

Mix_Resume(3) SDL_mixer3 FUNCTIONS Mix_Resume(3)

NAME

Mix_Resume - Resume a particular channel.

SYNOPSIS

#include "SDL3_mixer/SDL_mixer.h"
void Mix_Resume(int channel);

DESCRIPTION

It is legal to resume an unpaused or invalid channel; it causes no effect and reports no error.

If the paused channel has an expiration, its expiration countdown resumes now, as well.

Specifying a channel of -1 will resume _all_ paused channels. Any music is unaffected.

FUNCTION PARAMETERS

the channel to resume, or -1 to resume all paused channels.

AVAILABILITY

This function is available since SDL_mixer 3.0.0.

SDL_mixer 3.0.0 SDL_mixer