示例#1
0
func (s *SampleInstance) GetPan() float32 {
	return float32(C.al_get_sample_instance_pan((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s))))
}
示例#2
0
文件: audio.go 项目: beoran/algo
// Returns the of the sample instance
func (self *SampleInstance) Pan() float32 {
	return float32(C.al_get_sample_instance_pan(self.handle))
}