Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemUtils
Inheritance Hierarchy
- FVoicePacket
- FVoicePacketImpl
References
| Module | OnlineSubsystemUtils |
| Header | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/VoicePacketImpl.h |
| Include | #include "VoicePacketImpl.h" |
Syntax
class FVoicePacketImpl : public FVoicePacket
Remarks
Defines the data involved in a voice packet
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< uint8 > | Buffer | The data that is to be sent/processed | |
| uint16 | Length | The current amount of space used in the buffer for this packet | |
| int16 | MicrophoneAmplitude | Current loudness of the given microphone, in Q15. | |
| uint64 | SampleCount | ||
| FUniqueNetIdPtr | Sender | The unique net id of the talker sending the data |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Zeros members and validates the assumptions | |||
FVoicePacketImpl
(
const FVoicePacketImpl& Other |
Copies another packet |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Should only be used by TSharedPtr and FVoiceData |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | ResetData () |
Overridden from FVoicePacket
| Type | Name | Description | |
|---|---|---|---|
| uint16 | |||
| uint64 | Return the index of the first sample of this packet in the audio stream. | ||
| FUniqueNetIdPtr | GetSender () |
||
| uint16 | |||
| bool | IsReliable () |
||
| void | Serialize the voice packet data to a buffer |