/* * Query functions */ func (device *Device) GetString(param ALCenum) string { return goString(C.alcGetString((*C.ALCdevice)(device), C.ALCenum(param))) }
func (dev Device) DeviceSpecifier() (string, error) { return C.GoString((*C.char)(C.alcGetString(dev.device, C.ALC_DEVICE_SPECIFIER))), GetError() }
func (dev Device) Extensions() (string, error) { return C.GoString((*C.char)(C.alcGetString(dev.device, C.ALC_EXTENSIONS))), GetError() }
func DefaultDeviceName() (string, error) { return C.GoString((*C.char)(C.alcGetString(nil, C.ALC_DEFAULT_DEVICE_SPECIFIER))), GetError() }