int Mix_GroupOldest(int tag)

tag

Find the oldest actively playing channel in group tag.

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

// find the oldest playing channel in group 1 int channel; channel=Mix_GroupOldest(1); if (channel==-1) {

}

See Also: 4.4.7 Mix_GroupNewer, 4.4.5 Mix_GroupAvailable, 4.4.2 Mix_GroupChannel, 4.4.3 Mix_GroupChannels

Mix_GroupOldest (last edited 2009-02-09 22:48:02 by 84)