SDL_image 1.2.4: Mix_GroupCount

[ < ] | [ > ] |  | [ << ] | [ Up ] | [ >> ] |  |  |  |  | [Top] | [Contents] | [Index] | [ ? ]

### 4.4.4 Mix_GroupCount

`int Mix_GroupCount(int tag)`

tag
  A group number Any positive numbers (including zero).
  -1 will count ALL channels.

Count the number of channels in group tag.

Returns: The number of channels found in the group. This function never fails.

    // count the number of channels in group 1
    printf("There are %d channels in group 1\n", Mix_GroupCount(1));

See Also:
4.4.2 Mix_GroupChannel, 4.4.3 Mix_GroupChannels

This document was generated on November, 1 2002 using texi2html