al = ALFactory.getAL();
}
if (alc == null) {
alc = ALFactory.getALC();
}
ALCdevice d = alc.alcOpenDevice(deviceName);
if (d == null) {
throw new ALException("Error opening default OpenAL device");
}
ALCcontext c = alc.alcCreateContext(d, null);
if (c == null) {