ICompressedAudioInfo::StreamCompressedData

Decompresses streamed data to raw PCM data.

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AudioDecompress.h

Include

#include "AudioDecompress.h"

Syntax

virtual bool StreamCompressedData
(
    uint8 * Destination,
    bool bLooping,
    uint32 BufferSize
)

Remarks

Decompresses streamed data to raw PCM data.

Returns

bool true if the end of the data was reached (for both single shot and looping sounds)

Parameters

Parameter

Description

Destination

where to place the decompressed sound

bLooping

whether to loop the sound by seeking to the start, or pad the buffer with zeroes

BufferSize

number of bytes of PCM data to create

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