MCPcopy Create free account
hub / github.com/axmolengine/axmol / remove

Method remove

core/audio/AudioEngine.cpp:393–405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393void AudioEngine::remove(AUDIO_ID audioID)
394{
395 auto it = _audioIDInfoMap.find(audioID);
396 if (it != _audioIDInfoMap.end())
397 {
398 if (it->second.profileHelper)
399 {
400 it->second.profileHelper->audioIDs.remove(audioID);
401 }
402 _audioPathIDMap[it->second.filePath].remove(audioID);
403 _audioIDInfoMap.erase(audioID);
404 }
405}
406
407void AudioEngine::stopAll()
408{

Callers 13

removeTextureMethod · 0.45
doRemoveJointMethod · 0.45
stopAllMethod · 0.45
uncacheMethod · 0.45
handleMessageMethod · 0.45
runMethod · 0.45
deleteValueForKeyMethod · 0.45
runMethod · 0.45

Calls 3

findMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected