Пример #1
0
func Fading() int {
	f := C.Mix_FadingMusic()
	if f == C.MIX_FADING_IN {
		return -1
	}
	if f == C.MIX_FADING_OUT {
		return 1
	}
	return 0
}
Пример #2
0
func FadingMusic() Fading {
	return (Fading)(C.Mix_FadingMusic())
}
Пример #3
0
// Tells you whether music is fading in, out, or not at all.
func FadingMusic() int { return int(C.Mix_FadingMusic()) }
Пример #4
0
// Query the fading status of a the music
func FadingMusic() (Mix_Fading) { 
  return Mix_Fading(C.Mix_FadingMusic()) 
}