/Engine/Source/Runtime/SignalProcessing/Public/DSP/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, ifPush()andPop()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.
template<typename SampleType, size_t Alignment> class TCircularAudioBuffer