title: How to get pulseaudio volume in C?
body: <p>I am writing my own status bar program for suckless dwm and the last thing left on the list is getting volume percentage from default pulseaudio sink. In bash, I have solved this with this pipe: </p>
  
  <p><code>pactl list sinks | awk '$1=="Volume:" {print $5}'</code></p>
  
  <p>Is there a good way to do it in C?</p>