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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback