// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "Containers/Array.h" #include "Containers/ContainerAllocationPolicies.h" // TODO: Move BufferVectorOperations AUDIO_BUFFER_ALIGNMENT // define to more central location and reference here. #define AUDIO_BUFFER_ALIGNMENT 16 #define AUDIO_SIMD_BYTE_ALIGNMENT (16) #define AUDIO_NUM_FLOATS_PER_VECTOR_REGISTER (4) namespace Audio { /** Aligned allocator used for fast operations. */ using FAudioBufferAlignedAllocator = TAlignedHeapAllocator; using FAlignedByteBuffer = TArray; using FAlignedFloatBuffer = TArray; using FAlignedInt32Buffer = TArray; // Deprecated in favor of versions above typedef TArray AlignedByteBuffer; typedef TArray AlignedFloatBuffer; typedef TArray AlignedInt32Buffer; }