Scroll to navigation

Mix_ResumeGroup(3) SDL_mixer3 FUNCTIONS Mix_ResumeGroup(3)

NAME

Mix_ResumeGroup - Resume playing of a group of channels by arbitrary tag.

SYNOPSIS

#include "SDL3_mixer/SDL_mixer.h"
int Mix_ResumeGroup(int tag);

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.

A tag is an arbitrary number that can be assigned to several mixer channels, to form groups of channels.

The default tag for a channel is -1.

FUNCTION PARAMETERS

an arbitrary value, assigned to channels, to search for.

RETURN VALUE

Returns zero, whether any channels were resumed or not.

AVAILABILITY

This function is available since SDL_mixer 3.0.0.

SDL_mixer 3.0.0 SDL_mixer