Android: If I load more then 1 sound, only the last sound loaded will play. using andrroids soundpool
<p>I have some code to load in 2 sound effects,
if I try to play back the first sound by</p>

<p>PlaySoundEffect(soundIDB); nothings happens
if I use
PlaySoundEffect(soundIDA);
The last sound loaded gets played</p>

<p>code</p>

<p>soundPool = new SoundPool(10, AudioManager.STREAM_MUSIC, 0);
            soundIDA = soundPool.load(this, R.raw.flip, 1);<br>
            soundIDB = soundPool.load(this, R.raw.shuffle, 1);  </p>

<pre><code>            soundPool.setOnLoadCompleteListener(new OnLoadCompleteListener() {
                @Override
                public void onLoadComplete(SoundPool soundPool, int sampleId,
                        int status) {
                    loaded = true;

                                            // no sound gets played
                                            // if I put in SoundID1 it will play the second sound loaded
                    PlaySoundEffect(soundIDB);

                }
            });
</code></pre>
