Navigation
Unreal Engine C++ API Reference > Runtime > Voice > Interfaces > IVoiceDecoder
References
Module | Voice |
Header | /Engine/Source/Runtime/Online/Voice/Public/Interfaces/VoiceCodec.h |
Include | #include "Interfaces/VoiceCodec.h" |
void Decode
&40;
const uint8 &42; CompressedData,
uint32 CompressedDataSize,
uint8 &42; OutRawPCMData,
uint32 & OutRawDataSize
&41;
Remarks
Decode an encoded audio stream (outputs 16bit PCM audio)
Parameters
Name | Description |
---|---|
CompressedData | encoded/compressed audio stream |
CompressedDataSize | amount of data in the buffer |
OutRawPCMData | buffer to contain the decoded raw PCM data |
OutRawDataSize | [in/out] amount of buffer used for the decoded raw PCM data |