UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FStreamedAudioChunk Struct Reference

#include <SoundWave.h>

Public Member Functions

void Serialize (FArchive &Ar, UObject *Owner, int32 ChunkIndex)
 
bool GetCopy (void **OutChunkData)
 
FBulkDataBuffer< uint8MoveOutAsBuffer ()
 

Public Attributes

int32 DataSize = 0
 
int32 AudioDataSize = 0
 
uint32 SeekOffsetInAudioFrames = uint32(INDEX_NONE)
 
FByteBulkData BulkData
 

Detailed Description

A chunk of streamed audio.

Member Function Documentation

◆ GetCopy()

bool FStreamedAudioChunk::GetCopy ( void **  OutChunkData)

returns false if data retrieval failed

◆ MoveOutAsBuffer()

FBulkDataBuffer< uint8 > FStreamedAudioChunk::MoveOutAsBuffer ( )

◆ Serialize()

void FStreamedAudioChunk::Serialize ( FArchive Ar,
UObject Owner,
int32  ChunkIndex 
)

Serialization.

Member Data Documentation

◆ AudioDataSize

int32 FStreamedAudioChunk::AudioDataSize = 0

Size of the audio data. (NOTE: This includes a seek-table if its present.)

◆ BulkData

FByteBulkData FStreamedAudioChunk::BulkData

Bulk data if stored in the package.

◆ DataSize

int32 FStreamedAudioChunk::DataSize = 0

Size of the chunk of data in bytes including zero padding

◆ SeekOffsetInAudioFrames

uint32 FStreamedAudioChunk::SeekOffsetInAudioFrames = uint32(INDEX_NONE)

Chunk position in samples frames in the stream. (NOTE: != INDEX_NONE will assume the presence of a seektable).


The documentation for this struct was generated from the following files: