Ejemplo n.º 1
0
func (m *Mixer) SetGain(gain float32) bool {
	return bool(C.al_set_mixer_gain((*C.ALLEGRO_MIXER)(unsafe.Pointer(m)), C.float(gain)))
}
Ejemplo n.º 2
0
Archivo: audio.go Proyecto: beoran/algo
// Sets the gain of the mixer.
func (self *Mixer) SetGain(val float32) bool {
	return cb2b(C.al_set_mixer_gain(self.handle, C.float(val)))
}