Audio delays after input and ping spikes

Sometimes the audio will start to delay. I will see animations and the sound queues for them lag behind by a second or less. I tested this with voice lines and melee too. Restarting the game fixes it, but it’s getting annoying. I closed overwatch and played sound in another program and it was not delayed.

I also have had ping spikes that last 1-3 seconds where my entire game freezes and everyone (including myself) starts walking in a straight line. Then I am back to normal at low ping. This happens at least once per day. I think it might happen in other games too. I have a wireless connection and no choice for Ethernet.

The lag and audio issues don’t seem to correlate, but I haven’t kept track of that.

Both issues started after getting my new pc.