How can I programatically get a list of available audio devices with JOAL?
I looked at the demos and even the Jake2 source and they are all doing it the same way:
String deviceName = "DirectSound3D";
device = alc.alcOpenDevice(deviceName);
deviceSpecifier = alc.alcGetString(device, ALC.ALC_DEVICE_SPECIFIER);
the problem is that (at least for my system) the deviceSpecifier always returns “Generic Hardware”. Meanwhile, I have a great sound card that i’d like to use, but I have no idea if JOAL is using it or not. Additionally, I’d like to choose which audio device to use if there are more than one. Please advise.