The wireless network driver is a common cause of audio glitches due to DPC latency. Sometimes updating to the latest driver version can fix or reduce the problem.
Run the DPC Latency Checker that Vincent Kars mentioned:
DPC Latency CheckerThere is also another handy tool called
LatencyMon that also checks DPC latency.
DPC Latency Checker gives a nice history bar graph of the latency times and makes it easy to see if there are spikes. You can keep the latency checker running and visible and then check the graph for a recent spike in DPC latency times when you hear an audio glitch.
LatencyMon gives more info about which drivers are using DPC and which driver(s) are taking the most DPC latency. So it's a better tool for tracking down the cause of DPC latency issues. But I find DPC Latency Checker to be a better tool for a quick visual check.
When using these tools you'll get more accurate/reliable results if you disable CPU clock speed reduction. Intel calls that SpeedStep. AMD calls it Cool 'N Quiet. Both throttle the CPU speed to save energy and reduce heat and the resulting fan noise.
If you have a laptop plug it in to AC power. In the control panel power settings set the power plan to "high performance" and verify under advanced plan settings that the processor power management is set to 100% for both minimum processor state and maximum processor state.
You may also be able to disable the CPU throttling in your BIOS setup.
Then run one of the DPC latency tools and check if you've got a latency problem.