示例#1
0
func (m *Mixer) Destroy() {
	C.al_destroy_mixer((*C.ALLEGRO_MIXER)(unsafe.Pointer(m)))
}
示例#2
0
文件: audio.go 项目: beoran/algo
// Destroys the mixer.
func (self *Mixer) Destroy() {
	if self.handle != nil {
		C.al_destroy_mixer(self.toC())
	}
	self.handle = nil
}