func alGetString(v int) string { value := C.alGetString(C.ALenum(v)) return C.GoString((*C.char)(value)) }
/* * State retrieval */ func GetString(param ALenum) string { return goString(C.alGetString(C.ALenum(param))) }
func GetExtensions() (string, error) { val := C.alGetString(C.AL_EXTENSIONS) return C.GoString((*C.char)(val)), GetError() }
func GetRenderer() (string, error) { val := C.alGetString(C.AL_RENDERER) return C.GoString((*C.char)(val)), GetError() }
func GetVersion() (string, error) { val := C.alGetString(C.AL_VERSION) return C.GoString((*C.char)(val)), GetError() }
func GetVendor() (string, error) { val := C.alGetString(C.AL_VENDOR) return C.GoString((*C.char)(val)), GetError() }
func getString(param int) string { v := C.alGetString(C.ALenum(param)) return C.GoString((*C.char)(v)) }