Playing Multiple sounds at the same time in Android
问题 I am unable to use the following to code to play multiple sounds/beeps simultaneously. In my onclicklistener I have added: public void onClick(View v) { mSoundManager.playSound(1); mSoundManager.playSound(2); } But this plays only one sound at a time, sound with index 1 followed by sound with index 2. How can I play at least 2 sounds simultaneously using this code whenever there is an onClick() event? public class SoundManager { private SoundPool mSoundPool; private HashMap<Integer, Integer>