Пример #1
0
func (s *SampleInstance) SetLength(val uint32) bool {
	return bool(C.al_set_sample_instance_length((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s)), C.uint(val)))
}
Пример #2
0
// Sets the length of the sample instance.
func (self *SampleInstance) SetLength(val uint) bool {
	return cb2b(C.al_set_sample_instance_length(self.handle, C.uint(val)))
}