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