Module |
|
Header |
/Engine/Source/Runtime/Online/Voice/Public/Interfaces/VoiceCodec.h |
Include |
#include "Interfaces/VoiceCodec.h" |
bool Init
(
int32 SampleRate,
int32 NumChannels,
EAudioEncodeHint EncodeHint
)
Initialize the encoder
true if initialization was successful, false otherwise
Parameter |
Description |
---|---|
SampleRate |
requested sample rate of the encoding |
NumChannel |
number of channels in the raw audio stream |
EncodeHint |
type of audio that will be encoded |