IVoiceDecoder::Init

Initialize the decoder

Windows
MacOS
Linux

References

Module

Voice

Header

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

Include

#include "Interfaces/VoiceCodec.h"

Syntax

bool Init
(
    int32 SampleRate,
    int32 NumChannels
)

Remarks

Initialize the decoder

Returns

true if initialization was successful, false otherwise

Parameters

Parameter

Description

SampleRate

requested sample rate of the decoding (may be up sampled depending on the source data)

NumChannel

number of channels in the output decoded stream (mono streams can encode to stereo)

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