コード例 #1
0
ファイル: sdl_mixer.go プロジェクト: flazz/go-sdl2
func GroupChannels(from, to, tag int) int {
	_from := (C.int)(from)
	_to := (C.int)(to)
	_tag := (C.int)(tag)
	return int(C.Mix_GroupChannels(_from, _to, _tag))
}
コード例 #2
0
ファイル: mixer.go プロジェクト: beoran/fungo
// Assign several consecutive channels to a group
func GroupChannels(from, to, tag int) (int) {
  return int(C.Mix_GroupChannels(C.int(from), C.int(to), C.int(tag)))  
}