views:

33

answers:

1

Is there a reliable way to prevent truncating of sounds in soundpool? I have had some success with the sleep() function between sounds, but they still sometimes miss the last bit of sound before starting another sound. My app plays short sounds in sequence. Jerry

A: 

Make sure you have enough Streams. in the SoundPool constructor, the first argument is MaxStreams. Set that to whatever you seem fit. 8 or so should be enough i guess... but you might need more, depending on your sounds.

Daffe