Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/VoicePacketBuffer.h |
Include |
#include "VoicePacketBuffer.h" |
struct FSortedVoicePacketNode
FSortedVoicePacketNode This structure represents an individual packet in the FVoicePacketBuffer.
Name | Description | ||
---|---|---|---|
|
TArray< float > |
AudioBufferMem |
The actual resulting audio data. allocated ahead of time to minimize memory churn. |
|
BufferNumSamples |
Number of samples. |
|
|
IndexInPacketBuffer |
This is used when we are done with this packet. |
|
|
NextPacket |
Used for sorting packet nodes. |
|
|
SamplesLeft |
Updated on every call of PopAudio to keep track of where we are mid-packet. |
|
|
StartSample |
Actual sample start time for this sample. |
Name | Description | |
---|---|---|
|
FSortedVoicePacketNode() |
Default constructor. |
Name | Description | ||
---|---|---|---|
|
Initialize ( |
This function is called when a new packet is pushed to avoid reallocating memory. |