Yes.
Get a list of devices. Ask the user to select it. Install it using alcCaptureOpenDevice
.
See API ALC11 .
Sort of:
String[] capDevices = ALC11.alcGetString(null, ALC11.ALC_CAPTURE_DEVICE_SPECIFIER).split("\0"); for (int i = 0; i < capDevices.length; i++) { System.out.println("Capture device "+ i + ": " + capDevices[i]); }
(Disclaimer: not compiled / tested)
source share