示例#1
0
文件: audio.go 项目: beoran/algo
// Closes the Allegro file
func (self *File) Close() {
	if self.handle != nil {
		C.al_fclose(self.handle)
	}
	self.handle = nil
}
示例#2
0
func (f *File) Fclose() {
	C.al_fclose((*C.ALLEGRO_FILE)(unsafe.Pointer(f)))
}