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