Calling AL10.alGetSourcei(sourceid, AL10.AL_SOURCE_TYPE); fails with the following exception stack trace.
Exception in thread "main" org.lwjgl.openal.OpenALException: OpenAL error: Invalid Enum (40962)
at org.lwjgl.openal.Util.checkALError(Util.java:56)
at org.lwjgl.openal.AL10.alGetSourcei(AL10.java:811)
In al.h (OpenAL 1.1) the correct value is: 0x1027 ... but it feels like OpenAL 1.0 didn't have this query, right?