func (device *Device) GetEnumValue(enumname string) ALCenum { s := alcString(enumname) e := ALCenum(C.alcGetEnumValue((*C.ALCdevice)(device), s)) freeString(s) return e }
func (dev Device) enumValue(name string) (int, error) { return int(C.int(C.alcGetEnumValue(dev.device, (*C.ALCchar)(C.CString(name))))), GetError() }