I'm using the JMF Framework to capture audio data from the microphone.
I try to find the audio device for the mic through this code:
AudioFormat audioFormat = new AudioFormat("linear", 44100, 16, 2);
Vector<CaptureDeviceInfo> deviceList = CaptureDeviceManager.getDeviceList(audioFormat);
The problem is that I don't really know if that is the right audio format. How can i figure out which audio format should be specified to find the audio device?