mirror of https://github.com/axmolengine/axmol.git
7b67794826
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. |
||
---|---|---|
.. | ||
SLES | ||
android | ||
OpenSLEngine.cpp | ||
OpenSLEngine.h | ||
SimpleAudioEngineOpenSL.cpp | ||
SimpleAudioEngineOpenSL.h |