Esempio n. 1
0
func (s *SampleInstance) SetPosition(val uint32) bool {
	return bool(C.al_set_sample_instance_position((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s)), C.uint(val)))
}
Esempio n. 2
0
File: audio.go Progetto: beoran/algo
// Sets the position of the sample instance.
func (self *SampleInstance) SetPosition(val uint) bool {
	return cb2b(C.al_set_sample_instance_position(self.handle, C.uint(val)))
}