Exemple #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)))
}
Exemple #2
0
// 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)))
}