On Sun, Feb 15, 2009 at 12:00 AM, Sundog <sunns...@gmail.com> wrote: > > I am using your class and setting it up as you indicate, but having > the same difficulty I did last time I tried to use SoundPool; I have > seven one-shot sounds that trigger from buttons and in the emulator it > works every time, but on the phone itself, occasionally all 7 work but > usually only a random few do or sometimes none at all. Any idea what > might be going wrong? >
This is a bug in the SoundPool API. I have 1 customer who reported that sometimes my game just stops playing sounds. It happens on my G1, luckily very rarely. As a workaround, in my Options menu in the game, when the user turns off all sounds, and then turns them on, I reload everything and the sounds come back. I'm 100% sure it's a bug on the Android/SoundPool API side. I know it doesn't help, but that's it. I wish there was a way of figuring out that a sound doesn't play -- in this case we could handle it and reload or whatever. In the situations where the sounds go mute I don't see anything in the log. Cheers --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---