示例#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)))
}
示例#2
0
文件: audio.go 项目: 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)))
}