[Sound Linux] double sound effects

Hello!

I have a litle problem on Linux when i play sound effect

CocosDenshion::SimpleAudioEngine::sharedEngine()->playEffect(sound,isLoop);

Sounds play it’s ok but after 1-2 sec it plays again ;/ any one have this kind of problem? Im using cocos2dx master branch code.

You are looping the effect, that’s why it plays again. Either pass false as second argument or do not pass a second argument at all. I believe it defaults to false.

Man…. i know that. Even i wrote that sound plays only 2 times not looped.

new building script fix issue!