Пример #1
0
// Fades out music over the milliseconds specified.  Music is halted after
// the fade out is completed.
func FadeOutMusic(ms int) int { return int(C.Mix_FadeOutMusic(C.int(ms))) }
Пример #2
0
func FadeOutMusic(ms int) bool {
	_ms := (C.int)(ms)
	return int(C.Mix_FadeOutMusic(_ms)) == 0
}
Пример #3
0
func FadeOut(duration float64) {
	C.Mix_FadeOutMusic(C.int(duration * 1000.0))
}