UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AllPassFractionalDelay.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
8
9namespace Audio
10{
11 // Performs a fractional delay utilzing a single order all pass filter.
13 {
14 public:
15 // InMaxDelay sets the maximum allowable delay that this object can support. The minimum delay is 0.5
16 // InNumInternalBufferSamples sets the maximum block processing size.
18
20
21 // Apply delay to InSamples. Fill OutSamples with data from the delay line at a delay of InDelay.
22 // InDelay must be equal length to InSamples.
24
25 // Set all values in internal delay line to zero.
27
28 private:
29 void ProcessAudioBlock(const float* InSamples, const float* InDelays, const int32 InNum, float* OutSamples);
30
31 int32 MaxDelay;
32 int32 NumInternalBufferSamples;
33
34 // Delay element for all pass filter.
35 float Z1;
36
38
39 FAlignedFloatBuffer Coefficients;
40 FAlignedFloatBuffer FractionalDelays;
41 FAlignedInt32Buffer IntegerDelays;
42 FAlignedInt32Buffer IntegerDelayOffsets;
43 };
44}
FPlatformTypes::int32 int32
A 32-bit signed integer.
Definition Platform.h:1125
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
Definition AllPassFractionalDelay.h:13
SIGNALPROCESSING_API ~FAllPassFractionalDelay()
Definition AllPassFractionalDelay.cpp:51
SIGNALPROCESSING_API void Reset()
Definition AllPassFractionalDelay.cpp:55
SIGNALPROCESSING_API void ProcessAudio(const FAlignedFloatBuffer &InSamples, const FAlignedFloatBuffer &InDelays, FAlignedFloatBuffer &OutSamples)
Definition AllPassFractionalDelay.cpp:63
Definition UniquePtr.h:107
NO_LOGGING.
Definition AudioMixerPlatformAndroid.cpp:53