Question No speakers or headphones are plugged in!

Vineet is genius

Commendable
May 29, 2019
34
3
1,545
Hey!
I recently bought an MSI H410m-a pro motherboard, comes with the Realtek alc 892 audio chip.
It has been a month and everything was working fine until recently Windows won't detect my headphones or any other input or output audio device!
The device select window pops up where I select which device has been plugged in (my headphones) but still no sound and speaker icon in taskbar is crossed out.

Both the front and back I/O jacks behave the same way for microphones or headphones or any speakers Realtek detects it but windows 10 shows no device plugged in.
However it works fine if i disable front panel audio detection from the Realtek control panel.
So is this a software issue (windows 10) or is my motherboard at fault?

Specs:

MSI H410M-A Pro
CPU :i5 10400f
ram : 8gb xpg gammix d30 3200 MHz
Gpu: Gigabyte GT 1030 2gb gddr5 low profile
PSU : cooler master mwe 450w 80+ bronze
SSD: WD sn550 nvme
OS: Win 10 pro
cabinet: Ant Esports ICE 511 max