title: how can i list input devices using jack in C
body: <p>I'm trying to write an audio application in C.
  for now I support pulseaudio and alsa, now it's time to support jack.</p>
  
  <p>I want to be able to retrieve input devices in jack in order to choose one, connect to it and record the audio from that device.</p>
  
  <p>what I didn't manage to understand is how to get the list of record and playback devices available in jack.</p>
  
  <p>any ideas regarding the issue would be greatly appreciated.</p>