i use soundpool heavily - and i have found that using a combination ofo mediaplayer - for one-shot, non-looping sounds, and soundpool only for sounds that need to vary in pitch and volume on the fly is working pretty well. if i didn't need to vary my sounds on the fly, then i would use only mediaplayer.
i still don't dare stop or pause - i set the volume to zero when the sound is not in use, and restart soundpool at various strategic points. egregious hacks to be sure, but not much choice right now. i can't wait for cupcake:) On Feb 26, 12:40 pm, Jon Colverson <[email protected]> wrote: > On Feb 26, 6:04 pm, clark <[email protected]> wrote: > > > > SoundPoolhas been reliable for me, and I've not had any reports of > > > crashes. What are you using for the maxStreams constructor argument? > > > I originally started out by using 20 for the maxStreams argument, > > although I only have two wav files to load into the pool at this > > time. I was just planning for future use. > > Are you playing back the sounds multiple times simultaneously? > maxStreams refers to the number of streams that can be playing > concurrently, not the number of different sounds loaded. > > -- > Jon --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

