MCPcopy Create free account
hub / github.com/crownengine/crown / SourceShouldUpdate

Function SourceShouldUpdate

3rdparty/openal/al/source.cpp:490–494  ·  view source on GitHub ↗

* Returns if the source should specify an update, given the context's * deferring state and the source's last known state. */

Source from the content-addressed store, hash-verified

488 * deferring state and the source's last known state.
489 */
490inline bool SourceShouldUpdate(ALsource *source, ALCcontext *context)
491{
492 return !context->mDeferUpdates.load(std::memory_order_acquire) &&
493 IsPlayingOrPaused(source);
494}
495
496
497bool EnsureSources(ALCcontext *context, size_t needed)

Callers 1

UpdateSourcePropsFunction · 0.85

Calls 2

IsPlayingOrPausedFunction · 0.85
loadMethod · 0.45

Tested by

no test coverage detected