rename top-level source file to main.cpp
improve recording performance of PulseAudioSource