Navigation
API > API/Runtime > API/Runtime/Voice > API/Runtime/Voice/Interfaces > API/Runtime/Voice/Interfaces/IVoiceDecoder
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
&41;
Remarks
Initialize the decoder true if initialization was successful, false otherwise
Parameters
| Name | 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) |