IVoiceDecoder::Decode

Decode an encoded audio stream (outputs 16bit PCM audio)

Windows
MacOS
Linux

References

Module

Voice

Header

/Engine/Source/Runtime/Online/Voice/Public/Interfaces/VoiceCodec.h

Include

#include "Interfaces/VoiceCodec.h"

Syntax

void Decode
(
    const uint8 * CompressedData,
    uint32 CompressedDataSize,
    uint8 * OutRawPCMData,
    uint32 & OutRawDataSize
)

Remarks

Decode an encoded audio stream (outputs 16bit PCM audio)

Parameters

Parameter

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss