mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 17:55:43 +01:00
alsactl: flush stdout for monitor command
It may be useful to pipe the output to another program. Fixes: https://github.com/alsa-project/alsa-utils/pull/109 Signed-off-by: Alex Xu (Hello71) <alex_y_xu@yahoo.ca> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
8adbb2c275
commit
d05ac4a078
1 changed files with 1 additions and 0 deletions
|
@ -235,6 +235,7 @@ static int print_event(snd_ctl_t *ctl, const char *name)
|
|||
if (mask & SND_CTL_EVENT_MASK_TLV)
|
||||
printf(" TLV");
|
||||
printf("\n");
|
||||
fflush(stdout);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue