First of all, I'm rooted running CM 10.1.2. So when I boot the phone, and insert my headphones into the jack, it works fine. However, if at any time I remove my headphones, and then reinsert them, it will only play the music through the speaker. This happens with different headsets and running different apps. Now, I know the phone recognized that I plugged my headphones into the jack, because a tasker profile I have set up to activate on that event still does. Also, if in Poweramp for example I click "resume play on headphone plugin" (or whatever the setting is called), it will do so, only play the music through the speaker. I have also deactivated both the Tasker profile and the Poweramp setting to see if that helped, and it didn't. I'm probably going to try a factory reset this weekend when I have time, but does anyone have an idea of what could be causing this? Like I said, if I reboot the phone and then plug in the headset, it works great every time... but that gets annoying obviously.