Ejemplo n.º 1
0
func (s *SampleInstance) SetPlaying(val bool) bool {
	return bool(C.al_set_sample_instance_playing((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s)), C.bool(val)))
}
Ejemplo n.º 2
0
Archivo: audio.go Proyecto: beoran/algo
// Sets the play status of the sample instance.
func (self *SampleInstance) SetPlaying(val bool) bool {
	return cb2b(C.al_set_sample_instance_playing(self.handle, b2cb(val)))
}