import javax.sound.sampled.*; static void javaSound_listMixers() { print("Available Mixers:"); Mixer.Info[] aInfos = AudioSystem.getMixerInfo(); for (int i = 0; i < aInfos.length; i++) print(aInfos[i].getName()); if (aInfos.length == 0) print("[No mixers available]"); }