Been having some frustrating audio issues with my pc lately where at random times the audio from my headphones will cut out and when I look at my volume mixer its as if the headphones were disconnected. I'm using the front panel audio connector. The moments where it happens is very random, it could be fine for like a day and then it cuts out for 2 seconds 3 times within a half hour span and then like 3 hours later it starts happening more frequently constantly cutting out to the point where i have to restart my pc for it to go back to normal.
When this first started happening, my audio would get distorted (hard to describe but it would fix itself after unplugging and replugging my headphones) or restarting my computer. I noticed it happened mostly after waking up my pc from sleep mode so i stopped using sleep mode after it started happening and it was fine for a while until one day after a fresh boot, the audio was distorted again. Frustrated, I uninstalled and reinstalled the audio drivers and that problem cleared up but now I have the audio cutout problem.
The most recent driver I installed "Realtek HD Universal Driver (include Nahimic Driver)" makes the audio cutout duration shorter but still hasnt fixed the problem.
also I dont know if this is related at all but around the same time this all started happening, people started telling me that my Mic is very quiet and they could barely hear me on discord. I turned my mic volume up all the way and its fine for a while and then it goes quiet again seemingly randomly as well. Again, might not be related but its still frustrating nevertheless.
My specs are
WINDOWS 10 version 1909
MSI X370 Gaming Pro Carbon Motherboard
Ryzen 7 1700
Nvidia Gtx 1660 Super