!7 import javax.sound.sampled.*; p-tt { AudioFormat format = new AudioFormat(44100, 16, 1, true, true); //TargetDataLine line = AudioSystem.getTargetDataLine(format); DataLine.Info info = new DataLine.Info(TargetDataLine.class, format); TargetDataLine line = (TargetDataLine) AudioSystem.getLine(info); line.open(format); byte[] data = new byte[64]; short[] buf = new short[l(data)/2]; //line.start(); try { while licensed { int n = line.read(data, 0, l(data)); printWithMSTime("Bytes: " + n); } } finally { line.close(); } }