Skip to content

Commit 0224bc4

Browse files
committed
Improved progress indication in command line program.
Reverted to the dot output.
1 parent effb67e commit 0224bc4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/main/java/net/sourceforge/lame/mp3

src/main/java/net/sourceforge/lame/mp3/Main.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -879,7 +879,7 @@ private void timestatus(final int frameNum, final int totalframes) {
879879
private void progressStep(int percent) {
880880
float consoleX = (float) percent * MAX_WIDTH / 100f;
881881
if ((int) consoleX != oldConsoleX && !lame.getParser().embedded)
882-
System.out.println("step " + percent);
882+
System.out.print(".");
883883
oldConsoleX = (int) consoleX;
884884
support.firePropertyChange("progress", oldPercent, percent);
885885
}

0 commit comments

Comments
 (0)