Navigation
API > API/Runtime > API/Runtime/Engine
This structure allows audio chunk data to be accessed, and guarantees that the chunk in question will not be deleted during it's lifecycle.
| Name | FAudioChunkHandle |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/ContentStreaming.h |
| Include Path | #include "ContentStreaming.h" |
Syntax
class FAudioChunkHandle
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ContentStreaming.h | |||
FAudioChunkHandle
(
const FAudioChunkHandle& Other |
ContentStreaming.h | ||
FAudioChunkHandle
(
FAudioChunkHandle&& Other |
ContentStreaming.h | ||
FAudioChunkHandle
(
const uint8* InData, |
This constructor should only be called by an implementation of IAudioStreamingManager. | ContentStreaming.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FAudioChunkHandle() |
ContentStreaming.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| CachedData | const uint8 * | ContentStreaming.h | ||
| CachedDataNumBytes | int32 | ContentStreaming.h | ||
| ChunkIndex | int32 | The index of this chunk in the sound wave's full set of chunks of compressed audio. | ContentStreaming.h | |
| ChunkRevision | uint32 | ContentStreaming.h | ||
| CorrespondingWave | TWeakPtr< FSoundWaveData, ESPMode::ThreadSafe > | ContentStreaming.h | ||
| CorrespondingWaveGuid | FGuid | ContentStreaming.h | ||
| CorrespondingWaveName | FName | ContentStreaming.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const uint8 * GetData() |
Gets a pointer to the compressed chunk. | ContentStreaming.h | |
bool IsStale() |
If the soundwave has been recompressed, the compressed audio retained by this handle will not be up to date, and this will return true. | ContentStreaming.h | |
bool IsValid() |
Checks whether this points to a valid compressed chunk. | ContentStreaming.h | |
uint32 Num() |
Returns the num bytes pointed to by GetData(). | ContentStreaming.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAudioChunkHandle & operator=
(
const FAudioChunkHandle& Other |
ContentStreaming.h | ||
FAudioChunkHandle & operator=
(
FAudioChunkHandle&& Other |
ContentStreaming.h |