summaryrefslogtreecommitdiff
path: root/speaker-test/speaker-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'speaker-test/speaker-test.c')
-rw-r--r--speaker-test/speaker-test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/speaker-test/speaker-test.c b/speaker-test/speaker-test.c
index 053ed3b..d8d68e2 100644
--- a/speaker-test/speaker-test.c
+++ b/speaker-test/speaker-test.c
@@ -689,6 +689,7 @@ static int write_loop(snd_pcm_t *handle, int channel, int periods, uint8_t *fram
double phase = 0;
int err, n;
+ fflush(stdout);
if (test_type == TEST_WAV) {
int bufsize = snd_pcm_frames_to_bytes(handle, period_size);
n = 0;