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

Method stopAll

core/audio/AudioEngine.cpp:407–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407void AudioEngine::stopAll()
408{
409 if (!_audioEngineImpl)
410 {
411 return;
412 }
413 _audioEngineImpl->stopAll();
414 auto itEnd = _audioIDInfoMap.end();
415 for (auto it = _audioIDInfoMap.begin(); it != itEnd; ++it)
416 {
417 if (it->second.profileHelper)
418 {
419 it->second.profileHelper->audioIDs.remove(it->first);
420 }
421 }
422 _audioPathIDMap.clear();
423 _audioIDInfoMap.clear();
424}
425
426void AudioEngine::uncache(std::string_view filePath)
427{

Callers

nothing calls this directly

Calls 4

endMethod · 0.45
beginMethod · 0.45
removeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected