Esempio n. 1
0
func (s *SampleInstance) GetPlaying() bool {
	return bool(C.al_get_sample_instance_playing((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
Esempio n. 2
0
File: audio.go Progetto: beoran/algo
// Returns wheter or not the sample instance is playing
func (self *SampleInstance) Playing() bool {
	return cb2b(C.al_get_sample_instance_playing(self.handle))
}