Example #1
0
File: alc.go Project: nzlov/goal
func (context *Context) GetDevice() *Device {
	return (*Device)(C.alcGetContextsDevice((*C.ALCcontext)(context)))
}
Example #2
0
// Renamed, was GetContextsDevice.
func (self *Context) GetDevice() *Device {
	return &Device{C.alcGetContextsDevice(self.handle)}
}