int Mix_GroupAvailable(int tag)

tag

Find the first available (not playing) channel in group tag.

Returns: The channel found on success. -1 is returned when no channels in the group are available.

// find the first available channel in group 1 int channel; channel=Mix_GroupAvailable(1); if (channel==-1) {

}

Mix_GroupAvailable (last edited 2009-02-09 22:46:41 by 84)