static TargetDataLine javaSound_recordLine(AudioFormat format, int internalBufferSize) ctex { DataLine.Info targetInfo = new DataLine.Info(TargetDataLine.class, format, internalBufferSize); TargetDataLine in = (TargetDataLine) AudioSystem.getLine(targetInfo); in.open(format, internalBufferSize); ret in; }