Exemplo n.º 1
0
func (a *Stream) GetGain() float32 {
	return float32(C.al_get_audio_stream_gain((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a))))
}
Exemplo n.º 2
0
Arquivo: audio.go Projeto: beoran/algo
// Returns the gain of the audio stream
func (self *AudioStream) Gain() float32 {
	return float32(C.al_get_audio_stream_gain(self.handle))
}