Navigation
API > API/Plugins > API/Plugins/OnlineSubsystem > API/Plugins/OnlineSubsystem/IVoiceEngine
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint32 ReadLocalVoiceData
(
uint32 LocalUserNum, |
Reads local voice data for the specified local talker. | Interfaces/VoiceInterface.h | |
virtual uint32 ReadLocalVoiceData
(
uint32 LocalUserNum, |
Interfaces/VoiceInterface.h |
ReadLocalVoiceData(uint32, uint8 , uint32 )
Description
Reads local voice data for the specified local talker. The size field contains the buffer size on the way in and contains the amount read on the way out
| Name | ReadLocalVoiceData |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/VoiceInterface.h |
| Include Path | #include "Interfaces/VoiceInterface.h" |
uint32 ReadLocalVoiceData
(
uint32 LocalUserNum,
uint8 * Data,
uint32 * Size
)
0 upon success, an error code otherwise
Parameters
| Name | Remarks |
|---|---|
| UserIndex | the local talker that is having their data read |
| Data | the buffer to copy the voice data into |
| Size | in: the size of the buffer, out: the amount of data copied |
| OutSampleCount | Optional parameter for the starting sample of this voice data. Used for sorting packets received out of order. |
ReadLocalVoiceData(uint32, uint8 , uint32 , uint64 *)
| Name | ReadLocalVoiceData |
| Type | function |
| Header File | /Engine/Plugins/Online/OnlineSubsystem/Source/Public/Interfaces/VoiceInterface.h |
| Include Path | #include "Interfaces/VoiceInterface.h" |
virtual uint32 ReadLocalVoiceData
(
uint32 LocalUserNum,
uint8 * Data,
uint32 * Size,
uint64 * OutSampleCount
)