| FVoicePacket
|
Module |
|
Header |
/Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/VoicePacketImpl.h |
Include |
#include "VoicePacketImpl.h" |
class FVoicePacketImpl : public FVoicePacket
Defines the data involved in a voice packet
Name | Description | ||
---|---|---|---|
|
Buffer |
The data that is to be sent/processed |
|
|
Length |
The current amount of space used in the buffer for this packet |
|
|
MicrophoneAmplitude |
Current loudness of the given microphone, in Q15. |
|
|
SampleCount |
||
|
Sender |
The unique net id of the talker sending the data |
Name | Description | |
---|---|---|
|
FVoicePacketImpl() |
Zeros members and validates the assumptions |
|
FVoicePacketImpl ( |
Copies another packet |
Name | Description | |
---|---|---|
|
~FVoicePacketImpl() |
Should only be used by TSharedPtr and FVoiceData |
Name | Description | ||
---|---|---|---|
|
ResetData() |
Name | Description | ||
---|---|---|---|
|
GetBufferSize() |
||
|
GetSampleCounter() |
Return the index of the first sample of this packet in the audio stream. |
|
|
FUniqueNetId... |
GetSender() |
|
|
GetTotalPacketSize() |
||
|
IsReliable() |
||
|
Serialize ( |
Serialize the voice packet data to a buffer |