I flashed CM12.1(unofficial,Android5.1.1) yesterday.Then I flashed SuperSU.
But whatever player I used,Music will only output to speaker.
I want to use my earphone.(BTW,Earphone is Okay,Android4.4 can use it)
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It only takes a minute to sign up.Sign up to join this community
Try following methods and check if it works:
-Settings-->Backup & restore--> Factory data reset.
2.Reflash CM12.1 ROM.
-Boot into Recovery and install zip from sdcard.
If it still doesn't works then it must be a bug in that particular build. All you can do is wait for next release or switch to another ROM.