This project has moved. For the latest updates, please go here.

Audio Capture Choppy and Clicking

Jan 31, 2011 at 3:11 PM

Hi All

I have a project that uses NAudio to record the incoming audio form a microphone and compress it to G711 and the send it Via RTP to a external device

I am having some problem with the audio recording on windows XP where i am getting choppy audio and it clicks i think at the end of a audio packet

I have played around with changing the BufferMilliseconds and BufferNumers but it still doesn’t make any difference I have also tried different sound card and still the same

If i use the code on my Windows 7 PC it all works perfectly but the Test pc is windows XP and i always happens on this pc

Any suggestions would be gratefully received




Feb 3, 2011 at 3:32 PM

what is the external device? is that running NAudio too?

Feb 9, 2011 at 1:40 PM


I sorted the problem thanks it was to do with the buffering with NAudio

Is there a way to limit the input volume on a wave stream whrn recording?




Feb 21, 2011 at 9:07 AM

when recording, the user should adjust the microphone gain using the windows mixer controls or you will get distortion. Once NAudio receives the sample values, it can reduce them, but its too late to avoid clipping.