mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-08 22:35:41 +01:00
aseqdump: flush output
Flush the output after all currently available events have been printed to allow filtering interactive output through a pipe.
This commit is contained in:
parent
23f3e570cc
commit
8e2046bed5
1 changed files with 1 additions and 0 deletions
|
@ -428,6 +428,7 @@ int main(int argc, char *argv[])
|
|||
if (event)
|
||||
dump_event(event);
|
||||
} while (err > 0);
|
||||
fflush(stdout);
|
||||
if (stop)
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue