FOpusAudioInfo

Helper class to parse opus data

Windows
MacOS
Linux

Inheritance Hierarchy

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

Name Description

Protected variable

FOpusDecoderWra...

 

OpusDecoderWrapper

Wrapper around Opus-specific decoding state and APIs

Constructors

Name Description

Public function

FOpusAudioInfo()

Destructors

Name Description

Public function Virtual

~FOpusAudioInfo()

Overridden from IStreamedCompressedInfo

Name Description

Public function Virtual

bool

 

CreateDecoder()

Create the compression format dependent decoder object.

Public function Virtual

FDecodeResul...

 

Decode

(
    const uint8* CompressedData,
    const int32 CompressedDataSize,
    uint8* OutPCMData,
    const int32 OutputPCMDataSize
)

Decode the input compressed frame data into output PCMData buffer.

Public function Virtual

int32

 

GetFrameSize()

Return the size of the current compression frame

Public function Virtual Const

uint32

 

GetMaxFrameSizeSamples()

The size of the decode PCM buffer size.

Public function Virtual

bool

 

ParseHeader

(
    const uint8* InSrcBufferData,
    uint32 InSrcBufferDataSize,
    FSoundQualityInfo* QualityInfo
)

Parse the header information from the input source buffer data.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss