![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <VoiceCodec.h>
Inheritance diagram for IVoiceDecoder:Protected Member Functions | |
| IVoiceDecoder () | |
Protected Member Functions inherited from TSharedFromThis< IVoiceDecoder > | |
| TSharedFromThis () | |
| TSharedFromThis (TSharedFromThis const &) | |
| UE_FORCEINLINE_HINT TSharedFromThis & | operator= (TSharedFromThis const &) |
| ~TSharedFromThis () | |
Additional Inherited Members | |
Static Protected Member Functions inherited from TSharedFromThis< IVoiceDecoder > | |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
| static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
Interface for decoding voice passed over the wire
|
inlineprotected |
|
inlinevirtual |
|
pure virtual |
Decode an encoded audio stream (outputs 16bit PCM audio)
| CompressedData | encoded/compressed audio stream |
| CompressedDataSize | amount of data in the buffer |
| OutRawPCMData | buffer to contain the decoded raw PCM data |
| OutRawDataSize | [in/out] amount of buffer used for the decoded raw PCM data |
Initialize the decoder
| 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) |