What is better suited for playing mp3 / wav and changing the tempo (speed of sound) of Android?

I tried

1) MediaPlayer(it Doesnt support speed change).
2) SoundPool (play only small audio files)
3) AudioTrack (tried with JLayer- there is delay. decoder is slow).
4) Sonic NDK master - unable to play mp3 audio files

which is better to use? any idea or suggestions? How should I fit?

+5
source share
1 answer

Just some information from my experience. OpenSL ES is another option. This is a C ++ library, so you will need to use the Android NDK. I could not get this method to work for some reason, I still got an error message stating that the interface is not supported, although in the documentation it says that it is http://mobilepearls.com/labs/native -android-api / ndk / docs / opensles / .

http://www.surina.net/soundtouch/, ++, Android NDK .

, :

  • MediaPlayer
  • Soundpool - ,
  • AudioTrack , PCM, MP3.
+3

All Articles