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