Example #1
0
func Playing(channel int) bool {
	_channel := (C.int)(channel)
	return int(C.Mix_Playing(_channel)) > 0
}
Example #2
0
// Playing (https://www.libsdl.org/projects/SDL_mixer/docs/SDL_mixer_38.html)
func Playing(channel int) int {
	_channel := (C.int)(channel)
	return int(C.Mix_Playing(_channel))
}
Example #3
0
func Playing(c Channel) bool { return C.Mix_Playing(C.int(c)) == 1 }
Example #4
0
//Checks to see if the specified channel is currently playing
//Returns: 1 if the channel is currently playing or 0 if not playing
func (c *Chunk) IsPlaying(channel int) int {
	return int(C.Mix_Playing(C.int(channel)))
}
Example #5
0
// Check the status of a specific channel.
// If the specified channel is -1, check all channels.
func PlayingChannel(channel int) (int) { 
  return int(C.Mix_Playing(C.int(channel)))
}