UDocumentation
UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
AlignedBuffer.h
Go to the documentation of this file.
1
// Copyright Epic Games, Inc. All Rights Reserved.
2
3
#pragma once
4
5
#include "Containers/Array.h"
6
#include "
Containers/ContainerAllocationPolicies.h
"
7
8
// TODO: Move BufferVectorOperations AUDIO_BUFFER_ALIGNMENT
9
// define to more central location and reference here.
10
#define AUDIO_BUFFER_ALIGNMENT 16
11
12
#define AUDIO_SIMD_BYTE_ALIGNMENT (16)
13
#define AUDIO_NUM_FLOATS_PER_VECTOR_REGISTER (4)
14
15
16
namespace
Audio
17
{
19
using
FAudioBufferAlignedAllocator
=
TAlignedHeapAllocator<AUDIO_BUFFER_ALIGNMENT>
;
20
21
using
FAlignedByteBuffer
=
TArray<uint8, FAudioBufferAlignedAllocator>
;
22
using
FAlignedFloatBuffer
=
TArray<float, FAudioBufferAlignedAllocator>
;
23
using
FAlignedInt32Buffer
=
TArray<int32, FAudioBufferAlignedAllocator>
;
24
25
// Deprecated in favor of versions above
26
typedef
TArray<uint8, FAudioBufferAlignedAllocator>
AlignedByteBuffer
;
27
typedef
TArray<float, FAudioBufferAlignedAllocator>
AlignedFloatBuffer
;
28
typedef
TArray<int32, FAudioBufferAlignedAllocator>
AlignedInt32Buffer
;
29
}
ContainerAllocationPolicies.h
TAlignedHeapAllocator
Definition
ContainerAllocationPolicies.h:447
TArray< uint8, FAudioBufferAlignedAllocator >
Audio
NO_LOGGING.
Definition
AudioMixerPlatformAndroid.cpp:53
Audio::AlignedFloatBuffer
TArray< float, FAudioBufferAlignedAllocator > AlignedFloatBuffer
Definition
AlignedBuffer.h:27
Audio::AlignedByteBuffer
TArray< uint8, FAudioBufferAlignedAllocator > AlignedByteBuffer
Definition
AlignedBuffer.h:26
Audio::AlignedInt32Buffer
TArray< int32, FAudioBufferAlignedAllocator > AlignedInt32Buffer
Definition
AlignedBuffer.h:28
Engine
Source
Runtime
SignalProcessing
Public
DSP
AlignedBuffer.h
Generated by
1.9.8