Пример #1
0
func (a *Stream) Destroy() {
	C.al_destroy_audio_stream((*C.ALLEGRO_AUDIO_STREAM)(unsafe.Pointer(a)))
}
Пример #2
0
// Destroys the audio stream.
func (self *AudioStream) Destroy() {
	if self.handle != nil {
		C.al_destroy_audio_stream(self.toC())
	}
	self.handle = nil
}