Esempio n. 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))) }
Esempio n. 2
0
func FadeOutMusic(ms int) bool {
	_ms := (C.int)(ms)
	return int(C.Mix_FadeOutMusic(_ms)) == 0
}
Esempio n. 3
0
func FadeOut(duration float64) {
	C.Mix_FadeOutMusic(C.int(duration * 1000.0))
}