FADPCMAudioInfo

Windows
MacOS
Linux

Inheritance Hierarchy

ICompressedAudioInfo

FADPCMAudioInfo

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/ADPCMAudioInfo.h

Include

#include "ADPCMAudioInfo.h"

Syntax

class FADPCMAudioInfo : public ICompressedAudioInfo

Constructors

Name Description

Public function

FADPCMAudioInfo()

Destructors

Name Description

Public function Virtual

~FADPCMAudioInfo()

Functions

Overridden from ICompressedAudioInfo

Name Description

Public function Virtual

void

 

EnableHalfRate

(
    bool HalfRate
)

Sets decode to half-rate

Public function Virtual

void

 

ExpandFile

(
    uint8* DstBuffer,
    FSoundQualityInfo* QualityInfo
)

Decompress an entire data file to a TArray

Public function Virtual Const

int32

 

GetCurrentChunkIndex()

Gets the chunk index that was last read from (for Streaming Manager requests)

Public function Virtual Const

int32

 

GetCurrentChunkOffset()

Gets the offset into the chunk that was last read to (for Streaming Manager priority)

Public function Virtual Const

uint32

 

GetSourceBufferSize()

Gets the size of the source buffer originally passed to the info class (bytes)

Public function Virtual Const

int

 

GetStreamBufferSize()

Gets the preferred size for a streaming buffer for this decompression scheme

Public function Virtual

bool

 

ReadCompressedData

(
    uint8* Destination,
    bool bLooping,
    uint32 BufferSize
)

Decompresses data to raw PCM data.

Public function Virtual

bool

 

ReadCompressedInfo

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

Reads the header information of a compressed format

Public function Virtual

bool

 

ReleaseStreamChunk

(
    bool bBlockUntilReleased
)

This can be called to explicitly release this decoder's reference to a chunk of compressed audio without destroying the decoder itself.

Public function Virtual

void

 

SeekToTime

(
    const float SeekTime
)

Seeks to time (Some formats might not be seekable)

Public function Virtual

bool

 

StreamCompressedData

(
    uint8* Destination,
    bool bLooping,
    uint32 BufferSize
)

Decompresses streamed data to raw PCM data.

Public function Virtual

bool

 

StreamCompressedInfoInternal

(
    USoundWave* Wave,
    FSoundQualityInfo* QualityInfo
)

Internal override implemented by subclasses.

Public function Virtual Const

bool

 

SupportsStreaming()

Additional overrides for streaming.

Public function Virtual Const

bool

 

UsesVorbisChannelOrdering()

Whether the decompressed audio will be arranged using Vorbis' channel ordering See http://www.xiph.org/vorbis/doc/Vorbis_I_spec.html#x1-800004.3.9 for details

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