Try using AudioTrack instead of MediaPlayer. I usually suggest the following plan:
- Check out some sources for an application using AudioTrack. A good player can be found here.
This is an aac audio player that uses JNI to decode aac-audio.
- Find the MP3 decoding library. The library should be Java (see this , or maybe there are other libraries (I did not use such java libraries)) or the C / C ++ library (in this case you will also use it through JNI).
- When you get a simple working MP3 player, add manual crossfading (this should be easy if you know the basics of digital audio).
source share