private boolean isDirectAudio(Line line) {
   return line.getClass().toString().indexOf("DirectAudioDevice") >= 0;
 }