Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/AudioStreaming.h |
Include |
#include "AudioStreaming.h" |
struct FStreamingWaveData
Contains everything that will be needed by a SoundWave that's streaming in data
Name | Description | ||
---|---|---|---|
|
AudioStreamingManager |
Ptr to owning audio streaming manager. |
|
|
CurrentRequest |
Indices of chunks we want to have loaded |
|
|
LoadedChunkIndices |
Indices of chunks that are currently loaded |
|
|
LoadedChunks |
Contains pointers to Chunks of audio data that have been streamed in |
|
|
TIndirectArray<... |
PendingAsyncStreamDerivedChunkTasks |
Pending async derived data streaming tasks |
|
PendingChunkChangeRequestStatus |
Thread-safe counter indicating the audio streaming state. |
|
|
USoundWave *... |
SoundWave |
SoundWave this streaming data is for |
Name | Description | |
---|---|---|
|
FStreamingWaveData() |
Name | Description | |
---|---|---|
|
~FStreamingWaveData() |
Name | Description | ||
---|---|---|---|
|
BeginPendingRequests |
Kicks off any pending requests |
|
|
BlockTillAllRequestsFinished ( |
Blocks till all pending requests are fulfilled. |
|
|
FinishDDCRequests() |
Finishes any Derived Data Cache requests that may be in progress |
|
|
FreeResources() |
Frees streaming wave data resources, blocks pending async IO requests. |
|
|
HasPendingRequests |
Checks whether the requested chunk indices differ from those loaded |
|
|
Initialize ( |
Sets up the streaming wave data and loads the first chunk of audio for instant play |
|
|
UpdateChunkRequests ( |
Tells the SoundWave which chunks are currently required so that it can start loading any needed |
|
|
UpdateStreamingStatus() |
Updates the streaming status of the sound wave and performs finalization when appropriate. |