diff --git a/cocos/audio/android/AudioEngine-inl.cpp b/cocos/audio/android/AudioEngine-inl.cpp index 69389ab05e..267bdcdfdb 100644 --- a/cocos/audio/android/AudioEngine-inl.cpp +++ b/cocos/audio/android/AudioEngine-inl.cpp @@ -251,7 +251,8 @@ void AudioEngineImpl::playerFinishCallback(SLPlayItf caller, SLuint32 playEvent) { iter->second._finishCallback(iter->second._audioID, *AudioEngine::_audioIDInfoMap[iter->second._audioID].filePath); } - AudioEngine::stop(iter->second._audioID); + AudioEngine::remove(iter->second._audioID); + _audioPlayers.erase(iter); break; } }