Module |
|
Header |
/Engine/Source/Runtime/SignalProcessing/Public/DSP/AlignedBlockBuffer.h |
Include |
#include "DSP/AlignedBlockBuffer.h" |
class FAlignedBlockBuffer
First In First Out Buffer designed for audio buffers. Generally performs best when buffers are greater than 16 samples, optimally for buffers between 256 to 4096 samples. Memory operations are designed for audio applications by ensuring memory allocations only occur in the constructor or when capacity is altered, memory freeing only happens in the destructor or when capacity is altered. All assignments are performed using block memory copies.
Name | Description | |
---|---|---|
|
FAlignedBlockBuffer |
Constructor. |
Name | Description | |
---|---|---|
|
~FAlignedBlockBuffer() |
Destructor. |
Name | Description | ||
---|---|---|---|
|
AddSamples ( |
Add samples to the buffer. |
|
|
AddZeros ( |
Add zeros to the buffer. |
|
|
float * |
AllocateAlignedFloatArray ( |
|
|
ClearSamples() |
Clear entire buffer. |
|
|
CopyFloatArray ( |
||
|
FreeFloatArray ( |
||
|
GetMaxNumInspectSamples() |
Maximum number of elements that can be inspected. |
|
|
GetNumAvailable() |
Amount of samples left over in buffer. |
|
|
GetSampleCapacity() |
Maximum size of buffer. |
|
|
const float ... |
InspectSamples |
Inspect samples in the buffer. |
|
RemoveSamples ( |
Remove samples from the buffer. |
|
|
SetMaxNumInspectSamples ( |
Set the maximum number of elements that can be inspected. |
|
|
ZeroFloatArray ( |