I actually tried that one first and found the soundpool to be a little less than ready for primetime... it didn't work reliably in my testing and even crashed from time to time. After that I went back to trying to solve the MediaPlayer audio system wake-up issue. I'm building under the Android 1.1 as I wanted my app to work on the widest possibly pool of phones in the field. Is soundpool more reliable under 1.5?
On Jun 29, 2:10 pm, Mark Murphy <mmur...@commonsware.com> wrote: > Baratong wrote: > > I've found the audio subsystem is a little quirky. It's great if you > > are playing songs, or video but if you are writing a game that plays > > short sounds quickly it poses problems. After much work I found a > > pretty cool solution to one of the annoying problems ofMediaPlayer > > beingsluggishto play audio. > > An even simpler and better-performing solution is to use SoundPool, > which was designed for use by "a game that plays short sounds quickly". > > Here's a presentation from Google I/O that, among other things, covers > the differences betweenMediaPlayerand SoundPool: > > http://code.google.com/events/io/sessions/MasteringAndroidMediaFramew... > > -- > Mark Murphy (a Commons > Guy)http://commonsware.com|http://twitter.com/commonsguy > > Looking for Android opportunties?http://wiki.andmob.org/hado --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---