TSlidingBuffer

[TSlidingBuffer](API\Runtime\SignalProcessing\DSP\TSlidingBuffer)

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

/Engine/Source/Runtime/SignalProcessing/Public/DSP/SlidingWindow.h

Include

#include "DSP/SlidingWindow.h"

Syntax

template<typename InSampleType>
class TSlidingBuffer

Remarks

TSlidingBuffer

TSlidingBuffer defines the window size and hop size of the sliding window, and it stores any samples needed to produce additional windows.

TSlidingBuffer should be used in conjunction with the TSlidingWindow, TScopedSlidingWindow or TAutoSlidingWindow classes.

Variables

Name Description

Public variable

const int32

 

NumHopSamples

NumHopSamples describes the number of samples between adjacent windows

Public variable

const int32

 

NumWindowSamples

NumWindowSamples describes the number of samples in a window

Constructors

Name Description

Public function

TSlidingBuffer

(
    const int32 InNumWindowSamples,
    const int32 InNumHopSamples
)

Constructs a TSlidingBuffer with a constant window and hop size

Functions

Name Description

Public function

void

 

Reset()

Resets the internal storage.

Public function

void

 

StoreForFutureWindows

(
    TArrayView< const InSampleType > In...
)

StoreForFutureWindows stores the necessary samples from InBuffer which will be needed for future windows.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss