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 of MediaPlayer > being sluggish to 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 between MediaPlayer and SoundPool: http://code.google.com/events/io/sessions/MasteringAndroidMediaFramework.html -- 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 [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 -~----------~----~----~----~------~----~------~--~---

