Sounds like the typical "audio ic" component failing on your device. It either starts with your ear speaker failing or your charging port not outputting audio. This is a repair that require someone that knows how to solder.
If you want to ship your phone out i can get you in contact with someone that has done a phenomenal job with all the work i've sent him thus far. (Touch ic, backlight filters, audio ic, etc)