cocos2d/cocos2d-x — pull request #2563 by DarraghCoy (2013-05-14 16:53:33+00:00)
Title: Fix a potential crash SimpleAudioEngineOpenSL::playEffect

Fix a crash in SimpleAudioEngineOpenSL::playEffect which would occur when OpenSLEngine::preloadEffect returned FILE_NOT_FOUND. In the case where the sound fails to preload, we should not attempt to call OpenSLEngine::setEffectLooping on that sound.