Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/TCircularAudioBuffer
Description
When called, seeks the read or write cursor to only retain either the NumSamples latest data (if bRetainOldestSamples is false) or the NumSamples oldest data (if bRetainOldestSamples is true) in the buffer. Cannot be used to increase the capacity of this buffer.
| Name | SetNum |
| Type | function |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/Dsp.h |
| Include Path | #include "DSP/Dsp.h" |
void SetNum
(
uint32 NumSamples,
bool bRetainOldestSamples
)