![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <Dsp.h>
Basic implementation of a circular buffer built for pushing and popping arbitrary amounts of data at once. Designed to be thread safe for SPSC; However, if Push() and Pop() are both trying to access an overlapping area of the buffer, One of the calls will be truncated. Thus, it is advised that you use a high enough capacity that the producer and consumer are never in contention.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Push an array of values into circular buffer.
|
inline |
|
inline |
|
inline |
Reserve capacity.
| InMinimumCapacity | - Minimum capacity of circular buffer. |
| bRetainExistingSamples | - If true, existing samples in the buffer will be retained. If false, they are discarded. |
|
inline |
|
inline |
|
inline |