JavaSound: Detect device change
问题 Folks, I am working on an applet that captures audio from the local computer and streams it up to the server. I am using a Java applet that currently hooks onto the default device and performs the upstream. Things are running well. I now want to extend the functionality to allow users to choose the audio input device and to also show a sound level indicator of the chosen device in the web page. I wrote a multithreaded utility that would do AudioSystem.getMixerInfo(); periodically and look for