So for me to record audio from a microphone from a computer, i would need to use an CaptureDeviceManager to return a list of available devices installed on the computer system. This is possible by calling getDeviceList(Format format). However for me to create an instance of Format i would need to specify an encoding String inside constructor new Format(String encoding). I'm not sure what that encoding would be since i just want to return a list of all available devices. And the getDeviceList() method returns an empty Vector.
The API also says this about the method getDeviceList(Format format):
If no Format is specified, this method returns a list of CaptureDeviceInfo
objects for all of the available capture devices.
However there is only one getDeviceList() method that requires a format.