Real-time audio processing in C++