func GetError() error { if errVal := C.alGetError(); errVal == C.AL_NO_ERROR { return nil } else { return Error{errVal} } }
/* * Error support. * Obtain the most recent error generated in the AL state machine. */ func GetError() ALenum { return ALenum(C.alGetError()) }
func alGetError() int32 { return int32(C.alGetError()) }
// GetError() returns the most recent error generated // in the AL state machine. func GetError() uint32 { return uint32(C.alGetError()) }