Debugging audio pops and clicks

Yeah DPC is a tough one. You can't do much about it ...

 

For those interested in the solution of this particular problem

The problem was due to the use of an AsyncUpdater . The audio thread would call triggerAsyncUpdate and that caused occasional pops. I solved this by removing the triggerAsyncUpdate and replacing with a Timer and a timerCallback. Now everything works like a charm. I guess we should avoid using AsyncUpdaters in the audio thread...