Exemple #1
0
func (device *Device) CaptureCloseDevice() bool {
	return goBool(C.alcCaptureCloseDevice((*C.ALCdevice)(device)))
}
Exemple #2
0
// XXX: Override Device.CloseDevice to make sure the correct
// C function is called even if someone decides to use this
// behind an interface.
func (self *CaptureDevice) CloseDevice() bool {
	return C.alcCaptureCloseDevice(self.handle) != 0
}