* Returns if the source should specify an update, given the context's * deferring state and the source's last known state. */
| 671 | * deferring state and the source's last known state. |
| 672 | */ |
| 673 | inline bool SourceShouldUpdate(ALsource *source, ALCcontext *context) |
| 674 | { |
| 675 | return !context->mDeferUpdates.load(std::memory_order_acquire) && |
| 676 | IsPlayingOrPaused(source); |
| 677 | } |
| 678 | |
| 679 | |
| 680 | bool EnsureSources(ALCcontext *context, size_t needed) |
no test coverage detected