Example #1
0
func GroupChannel(which, tag int) bool {
	_which := (C.int)(which)
	_tag := (C.int)(tag)
	return C.Mix_GroupChannel(_which, _tag) != 0
}
Example #2
0
// Channel grouping functions 
// Attach a tag to a channel. A tag can be assigned to several mixer
// channels, to form groups of channels.
// If 'tag' is -1, the tag is removed (actually -1 is the tag used to
// represent the group of all the channels).
// Returns true if everything was OK.
func GroupChannel(which, tag int) (int) {
  return int(C.Mix_GroupChannel(C.int(which), C.int(tag)))  
}