Tao.Sdl SDK Documentation |
|
SdlMixer.Mix_GroupCount Method
Get number of channels in group.
[Visual Basic]
Public Shared Function Mix_GroupCount( _
ByVal
tag As
Integer _
) As
Integer
[C#]
public static
int Mix_GroupCount(
int tag);
Parameters
-
tag
- A group number Any positive numbers (including zero). -1 will count ALL channels.
Return Value
The number of channels found in the group. This function never fails.
Remarks
Count the number of channels in group tag.
Binds to C-function in SDL_mixer.h
int Mix_GroupCount(int tag)
Example
// count the number of channels in group 1
printf("There are %d channels in group 1\n", Mix_GroupCount(1));
See Also
SdlMixer Class | Tao.Sdl Namespace | Mix_GroupChannel | Mix_GroupChannels