Minor fixes for audio capture.