Esempio n. 1
0
func ReserveChannels(num int) int {
	_num := (C.int)(num)
	return (int)(C.Mix_ReserveChannels(_num))
}
Esempio n. 2
0
// Reserve the first channels (0 -> n-1) for the application, i.e. 
// don't allocate them dynamically to the next sample if requested 
// with a -1 value below.  Returns the number of reserved channels.
func ReserveChannels(num int) (int) { 
  return int(C.Mix_ReserveChannels(C.int(num)))
}