Beispiel #1
0
func (a *Stream) SetGain(val float32) bool {
	return bool(C.al_set_audio_stream_gain((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a)), C.float(val)))
}
Beispiel #2
0
// Sets the gain of the audio stream.
func (self *AudioStream) SetGain(val float32) bool {
	return cb2b(C.al_set_audio_stream_gain(self.handle, C.float(val)))
}