Beispiel #1
0
func (s *SampleInstance) SetSpeed(val float32) bool {
	return bool(C.al_set_sample_instance_speed((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s)), C.float(val)))
}
Beispiel #2
0
// Sets the speed of the sample instance.
func (self *SampleInstance) SetSpeed(val float32) bool {
	return cb2b(C.al_set_sample_instance_speed(self.handle, C.float(val)))
}