示例#1
0
func (v *Voice) GetPlaying() bool {
	return bool(C.al_get_voice_playing((*C.ALLEGRO_VOICE)(unsafe.Pointer(v))))
}
示例#2
0
文件: audio.go 项目: beoran/algo
// Returns wheter or not the voice is playing
func (self *Voice) Playing() bool {
	return cb2b(C.al_get_voice_playing(self.handle))
}