Exemplo n.º 1
0
func (s *SampleInstance) SetPan(val float32) bool {
	return bool(C.al_set_sample_instance_pan((*C.ALLEGRO_SAMPLE_INSTANCE)(unsafe.Pointer(s)), C.float(val)))
}
Exemplo n.º 2
0
Arquivo: audio.go Projeto: beoran/algo
// Sets the pan of the sample instance.
func (self *SampleInstance) SetPan(val float32) bool {
	return cb2b(C.al_set_sample_instance_pan(self.handle, C.float(val)))
}