import javax.sound.sampled.*; static L inputAudioDevices() { ret [Mixer m : listAudioDevices() | nempty(m.getTargetLines())]; }