Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- ICompressedAudioInfo
- IStreamedCompressedInfo
- FOpusAudioInfo
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/OpusAudioInfo.h |
| Include | #include "OpusAudioInfo.h" |
Syntax
class FOpusAudioInfo : public IStreamedCompressedInfo
Remarks
Helper class to parse opus data
Variables
| Type | Name | Description | |
|---|---|---|---|
| FOpusDecoderWrapper * | OpusDecoderWrapper | Wrapper around Opus-specific decoding state and APIs | |
| uint16 | SampleRate | Copied from the header. Opus only need 16 bits |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from IStreamedCompressedInfo
| Type | Name | Description | |
|---|---|---|---|
| bool | Create the compression format dependent decoder object. | ||
| FDecodeResult | Decode
(
const uint8* CompressedData, |
Decode the input compressed frame data into output PCMData buffer. | |
| int32 | GetFrameSize () |
Return the size of the current compression frame | |
| uint32 | The size of the decode PCM buffer size. | ||
| bool | ParseHeader
(
const uint8* InSrcBufferData, |
Parse the header information from the input source buffer data. |