int Mix_GroupNewer(int tag)

tag

Find the newest, most recently started, 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 newest playing channel in group 1 int channel; channel=Mix_GroupNewer(1); if (channel==-1) {

}

See Also: 4.4.6 Mix_GroupOldest, 4.4.5 Mix_GroupAvailable, 4.4.2 Mix_GroupChannel, 4.4.3 Mix_GroupChannels

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