SDL Wiki
(This function is part of SDL_mixer, a separate library from SDL.)

Mix_Resume

Resume a particular channel.

Header File

Defined in <SDL3_mixer/SDL_mixer.h>

Syntax

void Mix_Resume(int channel);

Function Parameters

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

Remarks

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.

Version

This function is available since SDL_mixer 3.0.0.


CategoryAPI, CategoryAPIFunction, CategorySDLMixer


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.