]> code.delx.au - pulseaudio/commit
pactl: Flush stdout buffer when printing subscribe events.
authorNikolay Amiantov <nikoamia@gmail.com>
Sun, 5 May 2013 11:22:53 +0000 (15:22 +0400)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Mon, 3 Jun 2013 19:08:41 +0000 (00:38 +0530)
commit8cc4e7786f04929c55f12d480b38bb484506eee4
tree2ff4e7239f254ddec0aa890388ba7a1fbe62dc44
parentcfb96b2530690df113e1aceb5b82fc166f9d2cfd
pactl: Flush stdout buffer when printing subscribe events.

"pactl subscribe" is running continuously, and without flushing its output is
not usable for "process-on-arrival" per-line tasks, such as grepping. This
patch should fix this. For example, now:
pactl subscribe | grep 'server'
should print only server events as they arrive.
src/utils/pactl.c