Navigation
API > API/Runtime > API/Runtime/Voice
Interface for decoding voice passed over the wire
| Name | IVoiceDecoder |
| Type | class |
| Header File | /Engine/Source/Runtime/Online/Voice/Public/Interfaces/VoiceCodec.h |
| Include Path | #include "Interfaces/VoiceCodec.h" |
Syntax
class IVoiceDecoder : public TSharedFromThis< IVoiceDecoder >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → IVoiceDecoder
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
IVoiceDecoder() |
Interfaces/VoiceCodec.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~IVoiceDecoder() |
Interfaces/VoiceCodec.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Decode
(
const uint8* CompressedData, |
Decode an encoded audio stream (outputs 16bit PCM audio) | Interfaces/VoiceCodec.h | |
void Destroy() |
Cleanup the decoder | Interfaces/VoiceCodec.h | |
void DumpState() |
Output the state of the decoder | Interfaces/VoiceCodec.h | |
bool Init
(
int32 SampleRate, |
Initialize the decoder | Interfaces/VoiceCodec.h | |
void Reset() |
Reset the decoder back to its initial state | Interfaces/VoiceCodec.h |