I have a couple of apps in which I use soundpool to loop the sound of a ticking clock, this works fine in all previous versions of android but after upgrading to android 4.3
When calling SoundPool.play(int soundID, float leftVolume, float rightVolume, int priority, int loop, float rate) I set the rate to 0.99f instead of 1, actually anything but 1 appears to work. It loops as expected on android 5.0.1. If rate set to 1 it loops about twice then it stops. I had the same loop problem, however it works on android 4.3 but not 5.0.1 when using rate 1.
Check this link. https://code.google.com/p/android/issues/detail?id=58113 Soundpool stopped working in 4.3