Monday, February 20, 2012

SoundPool and GoogleTV

We're developing a game at the moment -- more of that in a week or two -- but were having a bit of a problem.  One of our target platforms is GoogleTV, and our SoundPool based sounds were refusing to work on that device.  Strange, since they worked on everything else we've run it on, and our music was working fine.  What's up with that, Android?

After some trial and error, it appears that SoundPool is simply pickier about file formats on GoogleTV than it is on other devices, for some reason.  At least on our particular GoogleTV, we needed to switch from MP3 based sounds to 22Khz Mono OGG.  Since doing that, everything seems fine on all platforms.

Knowing is half the battle.

1 comment: