int Mix_GroupChannels(int from, int to, int tag)

from

to

tag

Add channels starting at from up through to to group tag, or reset it's group to the default group tag (-1).

Returns: The number of tagged channels on success. If that number is less than to-from+1 then some channels were no tagged because they didn't exist.

// add channels 0 through 7 to group 1 if(Mix_GroupChannels(0,7,1)!=8) {

}

See Also: 4.4.2 Mix_GroupChannel, 4.3.1 Mix_AllocateChannels

Mix_GroupChannels (last edited 2009-02-09 22:44:57 by 84)