FStreamedAudioPlatformData::GetChunkFromDDC

Try to load audio chunk from the derived data cache or build it if it isn't there.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h

Include

#include "Sound/SoundWave.h"

Source

/Engine/Source/Runtime/Engine/Private/AudioDerivedData.cpp

Syntax

int32 GetChunkFromDDC
(
    int32 ChunkIndex,
    uint8 ** OutChunkData,
    bool bMakeSureChunkIsLoaded
)

Remarks

Try to load audio chunk from the derived data cache or build it if it isn't there.

Returns

if > 0, the size of the chunk in bytes. If 0, the chunk failed to load.

Parameters

Parameter

Description

ChunkIndex

The Chunk index to load.

OutChunkData

Address of pointer that will store chunk data - should either be NULL or have enough space for the chunk

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