MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / SourceShouldUpdate

Function SourceShouldUpdate

Engine/lib/openal-soft/al/source.cpp:673–677  ·  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

671 * deferring state and the source's last known state.
672 */
673inline bool SourceShouldUpdate(ALsource *source, ALCcontext *context)
674{
675 return !context->mDeferUpdates.load(std::memory_order_acquire) &&
676 IsPlayingOrPaused(source);
677}
678
679
680bool 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