my phone is xperia xa1 ultra
i have like 1yr ago I plugged my headphone to listen music, but music was coming from the speakers so I said ''my headphone is dead I guess'' and moved on. Fast forward, I tried different headphones and no one headset worked on my device, so I tried them on other devices and they seem to work fine on other devices. After googling for a while, I came across an app called ''lesser audio switch''.I plug my headset, open the app, choose ''headphone'' option, sounds start to come from the headset and when i choose "speacker" option it start come from speaker,
Any idea about how to fix it? It's probably a software issue but I don't know what causing it.
btw sorry for my English, it's not my native language