I am using wasapi event style. Reading from memory makes no difference.
I think moving the mouse makes things worse.
The links to stuff about pci latency are outdated
The glitches I hear are exasperating - I have stopped using mc17 and listen to CD instead.
I use a hp 8540w
No need to give up yet. You just need to do some troubleshooting.
Vincent pointed you to a s/w tool for viewing what's happening in your system. It looks at performance at the driver level.
Task Manager lets you see what's happening at the level of application programs. Click on the Start button and then type in Task Manager in the search box. Choose Task Manager from the alternatives shown. While you are playing music, watch overall performance in the Performance tab. See if there is a difference in CPU activity at the time you hear a glitch. Then click on the processes tab and look for a correlation between CPU, paging or I/O activity by some process and an audible glitch.
---
If you want more help, you should provide more information about how you are using your PC to play audio. For example,
What other programs are running while you play audio?
Do you have an anti-virus program running?
Where are your music files located? laptop hard drive? USB drive connected to the laptop? on another computer (such as a NAS)? If on another computer, is the network connection via wired ethernet or wireless?
What audio output device are you using? onboard sound? USB DAC? other?
Have you tried DirectSound instead of Wasapi yet? It is often easier to start with DirectSound and then move to WASAPI or ASIO after you get your system working smoothly.
Bill