Example #1
0
func (m *Mixer) SetFrequency(freq uint32) bool {
	return bool(C.al_set_mixer_frequency((*C.ALLEGRO_MIXER)(unsafe.Pointer(m)), C.uint(freq)))
}
Example #2
0
File: audio.go Project: beoran/algo
// Sets the frequency of the mixer.
func (self *Mixer) SetFrequency(val uint) bool {
	return cb2b(C.al_set_mixer_frequency(self.handle, C.uint(val)))
}