diff options
-rw-r--r-- | pavold.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |