I hit the same problem and fought with it for a while. For me it
occurred only on some phone models. My conclusion is that it is a bug
with SoundPool itself. I never found any work-around so I changed to
playing my looping sounds directly with dedicated MediaPlayer
instances.

On Jun 5, 9:18 pm, krishna kumar <[email protected]> wrote:
> All sounds play fine as long as they are not set to looping. When i set
> looping  (set as -1) then the sound play one time only ....then stop  aging
> not playing why ...please help me
>
>         mStream1= mSoundPool.play(streamid, 1, 1, 0, -1, 1f);

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to