Beispiel #1
0
func (v *Voice) Destroy() {
	C.al_destroy_voice((*C.ALLEGRO_VOICE)(unsafe.Pointer(v)))
}
Beispiel #2
0
// Destroys the voice.
func (self *Voice) Destroy() {
	if self.handle != nil {
		C.al_destroy_voice(self.toC())
	}
	self.handle = nil
}