mirror of https://github.com/axmolengine/axmol.git
Add more comment.
This commit is contained in:
parent
07f5ec755a
commit
17f2fcd201
|
@ -365,7 +365,11 @@ void AudioEngineImpl::stop(int audioID)
|
||||||
log("%s error:%u",__func__, result);
|
log("%s error:%u",__func__, result);
|
||||||
}
|
}
|
||||||
|
|
||||||
//If destroy openSL object immediately,it may cause dead lock.
|
/*If destroy openSL object immediately,it may cause dead lock.
|
||||||
|
*It's a system issue.For more information:
|
||||||
|
* https://github.com/cocos2d/cocos2d-x/issues/11697
|
||||||
|
* https://groups.google.com/forum/#!msg/android-ndk/zANdS2n2cQI/AT6q1F3nNGIJ
|
||||||
|
*/
|
||||||
player._delayTimeToRemove = DELAY_TIME_TO_REMOVE;
|
player._delayTimeToRemove = DELAY_TIME_TO_REMOVE;
|
||||||
//_audioPlayers.erase(audioID);
|
//_audioPlayers.erase(audioID);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue