Scroll to navigation

Mix_GroupCount(3) SDL_mixer3 FUNCTIONS Mix_GroupCount(3)

NAME

Mix_GroupCount - Returns the number of channels in a group.

SYNOPSIS

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

DESCRIPTION

If tag is -1, this will return the total number of channels allocated, regardless of what their tag might be.

FUNCTION PARAMETERS

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

RETURN VALUE

Returns the number of channels assigned the specified tag.

AVAILABILITY

This function is available since SDL_mixer 3.0.0.

SDL_mixer 3.0.0 SDL_mixer