Audio Popping

May 20, 2011 at 7:13 AM

When I pause, stop, or play after pausing or stopping I get a clearly discernable pop. What could cause this?


May 20, 2011 at 7:17 AM

what output driver mode are you using?

It may simply be that when you stop, the audio is not at a zero-crossing, which results in a small pop or click. Some media players insert very short fade-ins and fade-outs to work around this issue.

Aug 11, 2011 at 7:22 AM

Oops, I didn't realize it was that long since I've had time to work on this project.

I'm using wasapi as the output driver.

I tried fading the audio in over <10ms, maybe I'm doing it wrong, but it doesn't sound right at all.

Nov 11, 2011 at 5:36 PM

I have the same problem: fading in and out works, but doesn't remove the ticking noises - in fact it adds more.

Nov 15, 2011 at 10:11 AM

to debug problems like this, it is often worth sending your audio to a WAV file with the WavFileWriter. Then you can use an audio editor program to see if the pops are in the audio you are generating or whether it is due to playback problems (e.g. using too low a latency)