示例#1
0
func ExpireChannel(channel, ticks int) int {
	_channel := (C.int)(channel)
	_ticks := (C.int)(ticks)
	return int(C.Mix_ExpireChannel(_channel, _ticks))
}
示例#2
0
文件: mixer.go 项目: beoran/fungo
// 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)))
}