Sound glitch during normal play

When I’m in the middle of playing sometimes the sound either cuts out entirely or gets really quiet. When I restart the game it works again. Don’t know if anyone else has had this problem.