FStreamedAudioChunk

A chunk of streamed audio.

Choose your operating system:

Windows

macOS

Linux

References

Module

Engine

Header

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

Include

#include "Sound/SoundWave.h"

Syntax

struct FStreamedAudioChunk

Remarks

A chunk of streamed audio.

Variables

Name Description

Public variable

int32

 

AudioDataSize

Size of the audio data.

Public variable

bool

 

bLoadedFromCookedPackage

True if this chunk was loaded from a cooked package.

Public variable

FByteBulkData

 

BulkData

Bulk data if stored in the package.

Public variable

int32

 

DataSize

Size of the chunk of data in bytes including zero padding

Public variable

FString

 

DerivedDataKey

Key if stored in the derived data cache.

Functions

Name Description

Public function

bool

 

GetCopy

(
    void** OutChunkData
)

Returns false if data retrieval failed

Public function

void

 

Serialize

(
    FArchive& Ar,
    UObject* Owner,
    int32 ChunkIndex
)

Serialization.

Public function

uint32

 

StoreInDerivedDataCache

(
    const FString& InDerivedDataKey,
    const FStringView& SoundWaveName
)

Place chunk data in the derived data cache associated with the provided key.