Headphone jack sudddenly won't make sound on my pc

So I'm using koss ksc75 headphones, I know they aren't broken because they work perfectly fine on my phone, and are able to output the test sound in windows settings, but apart from that I can't get them to output sound of other apps. It happened randomly. Tried with another jack headset, doesn't work either. The screen's speakers work though. Also tried to plug directly on the back on the mobo, same.

I tried restarting, updating drivers, didn't work.

Do you guys have any idea ?

Thanks in advance.

Edit : Nevermind, I asked chatGPT, what worked was to uninstall the peripheral and its drivers through peripheral manager, then restart it