title: Linux audio capture in c++
body: <p>I am starting a project to write a c++ application in Linux which can localize the direction of a sound based on input from 4 different mics.</p>
  
  <p>I will be needing an API that let's me capture audio from multiple soundcards and would allow me access to each sample taken represented in a byte format.</p>
  
  <p>Could someone please point me in the right direction as to what Linux c++ library can help me achieve this. This library should simply allow me to continuously read samples from multiple mics at set intervals which would yield some kind of output byte[] that I can then input into my sound localization algorithm.</p>