I've been talking about using Linux-based systems for embedded use lately. One very popular system has been the Raspberry Pi. I wanted to do a small project with the Pi, but was disappointed to see that it only has audio out and no audio in capabilities.
On the other hand, it does have USB ports. I rummaged a bit and found an old Labtec USB mic based on an AK5370 A/D converter. As expected, the Pi found it and suddenly had audio input capabilities.
There are many ways to work with audio hardware under Linux, but one of the best is the PortAudio library. One of the great things about this library is that is very portable to different platforms and it is also easy to use.
Rest here