mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 02:45:42 +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)
|
if (event)
|
||||||
dump_event(event);
|
dump_event(event);
|
||||||
} while (err > 0);
|
} while (err > 0);
|
||||||
|
fflush(stdout);
|
||||||
if (stop)
|
if (stop)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue