Earphones bug

I am facing a issue with my device where no matter what kind of earphones I plug in. There will be no sound from the earphones. I can hear the sounds and music in the start but then it'll immediately stop if I change anything in the audio wizard or if I just close YouTube while the video is still playing, I'll stop hearing any sound after that unless I reboot my device again. Is it a software bug or is it just some issue with mine?
This discussion has been closed.
Comments
Try clearing AudioWizards data from apps setting.
apps -> system apps -> AudioWizards
Will this happen with bluetooth headphones too?
No it only works for wired earphones rn
I did but still facing the same problem
Can you please make a recording with another device? Hold the earphones close to the other devices microphone so I can hear when the sounds stops.