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

Method addTask

core/audio/AudioEngine.cpp:623–627  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

621}
622
623void AudioEngine::addTask(const std::function<void()>& task)
624{
625 lazyInit();
626 Director::getInstance()->getJobSystem()->enqueue(task);
627}
628
629int AudioEngine::getPlayingAudioCount()
630{

Callers

nothing calls this directly

Calls 2

getInstanceFunction · 0.85
enqueueMethod · 0.45

Tested by

no test coverage detected