Several Improvements to the pulseaudio capture