FIntegerDelay

An adjustable delay line. Delays values are limited to integer values.

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

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

Include

#include "DSP/IntegerDelay.h"

Syntax

class FIntegerDelay

Remarks

An adjustable delay line. Delays values are limited to integer values.

Constructors

Name Description

Public function

FIntegerDelay

(
    int32 InMaxNumDelaySamples,
    int32 InNumDelaySamples,
    int32 InNumInternalBufferSamples
)

InMaxDelaySamples is the maximum supported delay. InDelaySamples is the initial delay in samples.

Destructors

Name Description

Public function

~FIntegerDelay()

Destructor.

Functions

Name Description

Public function Const

int32

 

GetNumDelaySamples()

Returns the current delay length in samples.

Public function

void

 

PeekDelayLine

(
    int32 InNum,
    Audio::AlignedFloatBuffer& OutSamp...
)

Retrieve a copy of the internal delay line.

Public function

void

 

ProcessAudio

(
    const Audio::AlignedFloatBuffer& I...,
    Audio::AlignedFloatBuffer& OutSamp...
)

Process InSamples, placing delayed versions in OutSamples.

Public function

void

 

Reset()

Resets the delay line state, flushes buffer and resets read/write pointers.

Public function

void

 

SetDelayLengthSamples

(
    int32 InNumDelaySamples
)

Sets the current delay in samples. InDelay must be less than or equal to the InMaxDelaySamples set in the constructor.

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