I’m Back (and SoundPool on Android is broken)

I’m back. Been to Disneyland with my better half, we are engaged 😀 It was a blast.

lol

Coming back, i now have the awesome task of figuring out the state of libgdx and any issues that may have arisen during my absense. The build server is still humming along. The issue tracker hasn’t grown immensely. I’ll do a forum run tonight and catch up with Nex/Xoppa/Nate/etc.

The recent Android 4.3 release broke looping for sound effects. The problem is located in SoundPool, and Android class we use to playback sound effects. Android 4.3 introduced a bug that breaks looping of sound effects.

You can star the bug on the Android issue tracker. Refrain from posting “me too” comments, anyone subscribed will receive your useless message.

There’s currently no work around, using MediaPlayer is to heavyweight and hence not an option. This doesn’t affect libgdx only, other frameworks and engines have the same problem now.

9 thoughts on “I’m Back (and SoundPool on Android is broken)

  1. I’m afraid that’s not a good idea, as we’d have to implement our own Software Mixer. Which wouldn’t use hardware capabilities. That would bog down games quite a bit especially on low-end to mid-end devices. Google promised to post a work-around.

  2. It seems that’s not the only thing broken in Android 4.3. 🙁 Congrats on getting engaged, like Juan I also got engaged earlier in the year, and it is great. Lots to look forward to! 🙂

  3. Unfortunately, the workaround posted at 9pm today by a Googler on the issue is to use AudioTrack…

Leave a Reply

Your email address will not be published.