Navigation
API > API/Runtime > API/Runtime/Engine
Async worker to stream audio chunks from the derived data cache.
| Name | FAsyncStreamDerivedChunkWorker |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/AudioStreaming.h |
| Include Path | #include "AudioStreaming.h" |
Syntax
class FAsyncStreamDerivedChunkWorker : public FNonAbandonableTask
Inheritance Hierarchy
- FNonAbandonableTask → FAsyncStreamDerivedChunkWorker
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAsyncStreamDerivedChunkWorker
(
const FString& InDerivedDataKey, |
Initialization constructor. | AudioStreaming.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bRequestFailed | bool | True if the chunk data was not present in the derived data cache. | AudioStreaming.h | |
| DerivedDataKey | FString | Key for retrieving chunk data from the derived data cache. | AudioStreaming.h | |
| DestChunkData | void * | The location to which the chunk data should be copied. | AudioStreaming.h | |
| ExpectedChunkSize | int32 | The size of the chunk in bytes. | AudioStreaming.h | |
| OnLoadCompleted | TFunction< void(bool)> | This function is called when the load is completed | AudioStreaming.h | |
| ThreadSafeCounter | FThreadSafeCounter * | Thread-safe counter to decrement when data has been copied. | AudioStreaming.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool DidRequestFail() |
Returns true if the streaming mip request failed. | AudioStreaming.h | |
void DoWork() |
Retrieves the derived chunk from the derived data cache. | AudioStreaming.h | |
TStatId GetStatId() |
AudioStreaming.h |