IVoiceDecoder

Interface for decoding voice passed over the wire

Windows
MacOS
Linux

Inheritance Hierarchy

TSharedFromThis

IVoiceDecoder

References

Module

Voice

Header

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

Include

#include "Interfaces/VoiceCodec.h"

Syntax

class IVoiceDecoder : public TSharedFromThis< IVoiceDecoder >

Remarks

Interface for decoding voice passed over the wire

Constructors

Name Description

Protected function

IVoiceDecoder()

Destructors

Name Description

Public function Virtual

~IVoiceDecoder()

Functions

Name Description

Public function

void

 

Decode

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

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

Public function

void

 

Destroy()

Cleanup the decoder

Public function Const

void

 

DumpState()

Output the state of the decoder

Public function

bool

 

Init

(
    int32 SampleRate,
    int32 NumChannels
)

Initialize the decoder

Public function

void

 

Reset()

Reset the decoder back to its initial state

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