Navigation
Unreal Engine C++ API Reference > Runtime > Voice > Interfaces > IVoiceEncoder
References
Module | Voice |
Header | /Engine/Source/Runtime/Online/Voice/Public/Interfaces/VoiceCodec.h |
Include | #include "Interfaces/VoiceCodec.h" |
bool Init
&40;
int32 SampleRate,
int32 NumChannels,
EAudioEncodeHint EncodeHint
&41;
Remarks
Initialize the encoder true if initialization was successful, false otherwise
Parameters
Name | 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 |