fix some bugs in SoundPool demo