Пример #1
0
func (a *Stream) SetPan(val float32) bool {
	return bool(C.al_set_audio_stream_pan((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a)), C.float(val)))
}
Пример #2
0
// Sets the pan of the audio stream.
func (self *AudioStream) SetPan(val float32) bool {
	return cb2b(C.al_set_audio_stream_pan(self.handle, C.float(val)))
}