Beispiel #1
0
func (s *SampleInstance) GetGain() float32 {
	return float32(C.al_get_sample_instance_gain((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
Beispiel #2
0
// Returns the of the sample instance
func (self *SampleInstance) Gain() float32 {
	return float32(C.al_get_sample_instance_gain(self.handle))
}