OSDN Git Service

aplay: add fflush(stdout) for -vvv verbosity
authorJaroslav Kysela <perex@perex.cz>
Sun, 1 Oct 2006 13:03:26 +0000 (15:03 +0200)
committerJaroslav Kysela <perex@perex.cz>
Sun, 1 Oct 2006 13:03:26 +0000 (15:03 +0200)
See bug#2454

aplay/aplay.c

index 68fac64..665feb4 100644 (file)
@@ -1239,6 +1239,7 @@ static void compute_max_peak(u_char *data, size_t count)
                        else
                                putchar(' ');
                printf(" %i%%\n", perc);
+               fflush(stdout);
        }
 }