I'm writing a real-time audio processing application on Linux. It reads stereo audio from a USB microphone at 48kHz, does some processing, and sends audio to the speakers with a total latency <500ms.I used portaudio, but am having stability issues. It seems the library is not robust to underflows (often failing to start, and appearing to fail ungracefully after a single underflow).Searching the net, I find many APIs for real-time sound on Linux, including ALSA, OSS, PulseAudio, Jack, PortAudio, and others.What is a sane, modern API for real-time audio?
What is the modern real-time audio API?
audio;alsa;pulseaudio;real time