Navigation
API > API/Runtime > API/Runtime/Voice > API/Runtime/Voice/Interfaces > API/Runtime/Voice/Interfaces/IVoiceEncoder
References
Module | Voice |
Header | /Engine/Source/Runtime/Online/Voice/Public/Interfaces/VoiceCodec.h |
Include | #include "Interfaces/VoiceCodec.h" |
bool Init
(
int32 SampleRate,
int32 NumChannels,
EAudioEncodeHint EncodeHint
)
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 |