Ejemplo n.º 1
0
func ExpireChannel(channel, ticks int) int {
	_channel := (C.int)(channel)
	_ticks := (C.int)(ticks)
	return int(C.Mix_ExpireChannel(_channel, _ticks))
}
Ejemplo n.º 2
0
// Change the expiration delay for a particular channel.
// The sample will stop playing after the 'ticks' milliseconds have elapsed,
// or remove the expiration if 'ticks' is -1
func ExpireChannel(channel, ticks int) (int) {
  return int(C.Mix_ExpireChannel(C.int(channel), C.int(ticks)))
}