Exemple #1
0
func (sm *soundMaker) SetGain(gain float64)   { al.Sourcef(sm.source, al.GAIN, float32(gain)) }
Exemple #2
0
func (sm *soundMaker) SetPitch(pitch float64) { al.Sourcef(sm.source, al.PITCH, float32(pitch)) }