title: Create audio buffer from application's audio interface
body: <p>Using PortAudio, how can I access running applications' audio interface so that I can capture the audio they produce in real time? The goal would be then to send this audio as UDP packet to a server.</p>
  
  <p>I've had a look at <a href="http://portaudio.com/docs/v19-doxydocs/group__examples__src.html" rel="nofollow noreferrer">PortAudio's code samples</a> but can't find anything similar. </p>
  
  <p><strong>Maybe PortAudio is not the right library for me?</strong> </p>
  
  <p>I'm working mainly on Mac OS. </p>