Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemUtils > API/Plugins/OnlineSubsystemUtils/FVoiceEngineImpl > API/Plugins/OnlineSubsystemUtils/FVoiceEngineImpl/ReadLocalVoiceData
- IVoiceEngine::ReadLocalVoiceData()
- FVoiceEngineImpl::ReadLocalVoiceData()
References
| Module | OnlineSubsystemUtils |
| Header | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Public/VoiceEngineImpl.h |
| Include | #include "VoiceEngineImpl.h" |
virtual uint32 ReadLocalVoiceData
&40;
uint32 LocalUserNum,
uint8 &42; Data,
uint32 &42; Size
&41;
Remarks
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 0 upon success, an error code otherwise
Parameters
| Name | Description |
|---|---|
| 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. |