aboutsummaryrefslogtreecommitdiff
path: root/pavold.c
diff options
context:
space:
mode:
Diffstat (limited to 'pavold.c')
-rw-r--r--pavold.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pavold.c b/pavold.c
index aa92d3a..02fd1e8 100644
--- a/pavold.c
+++ b/pavold.c
@@ -14,6 +14,7 @@ static void sink_info_volume_callback(pa_context *c, const pa_sink_info *i, int
vol = pa_cvolume_avg(&i->volume);
printf("%d,%.02fdB,%d,%d,%d\n", vol*100/PA_VOLUME_NORM, pa_sw_volume_to_dB(vol), i->mute, i->index, i->index == default_sink_index);
+ fflush(stdout);
}
static void sink_info_default_index_callback(pa_context *c, const pa_sink_info *i, int eol, void *userdata) {