예제 #1
0
func (s *SampleInstance) GetSpeed() float32 {
	return float32(C.al_get_sample_instance_speed((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
예제 #2
0
파일: audio.go 프로젝트: beoran/algo
// Returns the of the sample instance
func (self *SampleInstance) Speed() float32 {
	return float32(C.al_get_sample_instance_speed(self.handle))
}