Beispiel #1
0
func (s *SampleInstance) GetPosition() uint32 {
	return uint32(C.al_get_sample_instance_position((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
Beispiel #2
0
// Returns the position of the sample instance
func (self *SampleInstance) Position() uint {
	return uint(C.al_get_sample_instance_position(self.handle))
}