Alt tabbing is killing all the sound on my pc

When I alt tab between overwatch and discord whether it be the 2rd or 10th time I do it all my sound stops.
I made a batch file when I run it it fixes the sound immediately. But I get a program has stopped working error from overwatch and have to restart the game.
As you may imagine in a scrim or comp this is a bad scenario.

Any tips? I have scanned and repaired game a few times and checked all my drivers for updates on the whole pc.

Here is the batch file I run
@echo off
net stop audiosrv
net stop AudioEndpointBuilder
net start audiosrv
net start AudioEndpointBuilder

hit shift+~ and yo ucan go into discord in game…no need t alt tab bro. :confused:

That’s just the overlay. I need to be able to change voice channels, copy and paste names to invite to lobby and post memes between matches.

Try disabling “Enable Quality of Service High Packet Priority” in the Discord Voice & Video settings. Other than that, I’d suggest disabling any audio devices you’re not currently using when playing.