Get oldest busy channel in group
The channel found on success. -1 is returned when no channels in the group are playing or the group is empty.
Binds to C-function in SDL_mixer.h
int Mix_GroupOldest(int tag)
// find the oldest playing channel in group 1 int channel; channel=Mix_GroupOldest(1); if (channel==-1) { // no channel playing or allocated... // perhaps just search for an available channel... }
SdlMixer Class | Tao.Sdl Namespace | Mix_GroupNewer | Mix_GroupAvailable | Mix_GroupChannel | Mix_GroupChannels