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

Mix_ResumeGroup

Resume playing of a group of channels by arbitrary tag.

Header File

Defined in SDL_mixer.h

Syntax

int Mix_ResumeGroup(int tag);

Function Parameters

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

Return Value

Returns zero, whether any channels were resumed or not.

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.

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.

Version

This function is available since SDL_mixer 3.0.0.


CategoryAPI, CategoryAPIFunction


[ 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.