FStreamedAudioPlatformData

Platform-specific data used streaming audio at runtime.

Windows
MacOS
Linux

References

Module

Engine

Header

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

Include

#include "Sound/SoundWave.h"

Syntax

struct FStreamedAudioPlatformData

Remarks

Platform-specific data used streaming audio at runtime.

Variables

Name Description

Public variable

FStreamedAudioA...

 

AsyncTask

Async cache task if one is outstanding.

Public variable

FName

 

AudioFormat

Format in which audio chunks are stored.

Public variable

TIndirectArray<...

 

Chunks

Audio data.

Public variable

FString

 

DerivedDataKey

The key associated with this derived data.

Public variable

int32

 

NumChunks

Number of audio chunks.

Constructors

Name Description

Public function

FStreamedAudioPlatformData()

Default constructor.

Destructors

Name Description

Public function

~FStreamedAudioPlatformData()

Destructor.

Functions

Name Description

Public function Const

bool

 

AreDerivedChunksAvailable()

Public function

void

 

Cache

(
    USoundWave& InSoundWave,
    const FPlatformAudioCookOverrides&...,
    FName AudioFormatName,
    uint32 InFlags
)

Public function

void

 

FinishCache()

Public function

int32

 

GetChunkFromDDC

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

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

Public function Const

bool

 

IsFinishedCache()

Public function

void

 

Serialize

(
    FArchive& Ar,
    USoundWave* Owner
)

Serialization.

Public function

bool

 

TryInlineChunkData()

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