int SAMPS = (FREQ * TIME);
ByteBuffer buf = BufferUtils.createByteBuffer(SAMPS * FMTSIZE);
// check that capture is available
if(!ALC10.alcIsExtensionPresent(AL.getDevice(), "ALC_EXT_CAPTURE")) {
throw new OpenALException("ALC_EXT_CAPTURE extension not available");
}
// get list of devices
String[] captureDevices = ALC10.alcGetString(null, ALC11.ALC_CAPTURE_DEVICE_SPECIFIER).split("\0");
System.out.println("Available Capture Devices: ");