Esempio n. 1
0
func (m *Mixer) Destroy() {
	C.al_destroy_mixer((*C.ALLEGRO_MIXER)(unsafe.Pointer(m)))
}
Esempio n. 2
0
File: audio.go Progetto: beoran/algo
// Destroys the mixer.
func (self *Mixer) Destroy() {
	if self.handle != nil {
		C.al_destroy_mixer(self.toC())
	}
	self.handle = nil
}