Beispiel #1
0
func (s *SampleInstance) GetPlaymode() uint32 {
	return uint32(C.al_get_sample_instance_playmode((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
Beispiel #2
0
// Returns the play mode of the sample instance
func (self *SampleInstance) Playmode() PlayMode {
	return PlayMode(C.al_get_sample_instance_playmode(self.handle))
}