How to play multiple effects with SimpleAudioEngine ?

the second effect will disable the first one,They cannot be played simultaneously

I seem to remember someone mentioning this only affected the win32 build but was fine on iOs/Android… Not sure if this true or not however.

Im sure i occurs on Android ,not on windows
and I Find this in cocos2dxSound.java:
public int playEffect(final String pPath, final boolean pLoop) {
……………………………
// only allow one playEffect at a time, or the semaphore will not work correctly
synchronized(this.mSoundPool) {

Have not noticed any such issue with my Android builds.

What cocos2d-x are you using? Which API are you calling?

I use cocos2d-x-2.1.5, the first effect is about 10s (.mp3 file), the scond is about 2s,when i played the second one, the first stoped, but it works fine on windows 7.

maybe you should try ogg for android and wav for windows?

http://www.cocos2d-x.org/wiki/Audio_formats_supported_by_CocosDenshion_on_different_platforms