Skip to content

Commit

Permalink
Improved progress indication in command line program.
Browse files Browse the repository at this point in the history
Reverted to the dot output.
  • Loading branch information
nwaldispuehl committed Jan 30, 2016
1 parent effb67e commit 0224bc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/net/sourceforge/lame/mp3/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,7 @@ private void timestatus(final int frameNum, final int totalframes) {
private void progressStep(int percent) {
float consoleX = (float) percent * MAX_WIDTH / 100f;
if ((int) consoleX != oldConsoleX && !lame.getParser().embedded)
System.out.println("step " + percent);
System.out.print(".");
oldConsoleX = (int) consoleX;
support.firePropertyChange("progress", oldPercent, percent);
}
Expand Down

0 comments on commit 0224bc4

Please sign in to comment.