Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FAudioChunkCache
Struct containing a single element in our LRU Cache.
| Name | FCacheElement |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/AudioStreamingCache.h |
| Include Path | #include "AudioStreamingCache.h" |
Syntax
struct FCacheElement
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCacheElement
(
uint32 InCacheIndex |
AudioStreamingCache.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FCacheElement() |
AudioStreamingCache.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsLoaded | FThreadSafeBool | AudioStreamingCache.h | ||
| bWantsExtraLogging | bool | If the chunk belongs to a sound that wants more logging. | AudioStreamingCache.h | |
| CacheLookupID | uint64 | AudioStreamingCache.h | ||
| ChunkData | uint8 * | AudioStreamingCache.h | ||
| ChunkDataSize | uint32 | AudioStreamingCache.h | ||
| DDCTask | TUniquePtr< FAsyncStreamDerivedChunkTask > | AudioStreamingCache.h | ||
| DebugInfo | FCacheElementDebugInfo | AudioStreamingCache.h | ||
| Key | FChunkKey | AudioStreamingCache.h | ||
| LessRecentElement | FCacheElement * | AudioStreamingCache.h | ||
| MoreRecentElement | FCacheElement * | AudioStreamingCache.h | ||
| NumConsumers | FThreadSafeCounter | How many disparate consumers have called GetLoadedChunk. | AudioStreamingCache.h | |
| Priority | EAsyncIOPriorityAndFlags | AudioStreamingCache.h | ||
| Read | FBulkDataBatchRequest | AudioStreamingCache.h | ||
| SoundWaveWeakPtr | TWeakPtr< FSoundWaveData, ESPMode::ThreadSafe > | AudioStreamingCache.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool CanEvictChunk() |
AudioStreamingCache.h | ||
FStreamedAudioChunk * GetChunk
(
uint32 InChunkIndex |
AudioStreamingCache.h | ||
uint32 GetNumChunks() |
AudioStreamingCache.h | ||
bool IsBeingPlayed() |
AudioStreamingCache.h | ||
bool IsChunkStale() |
AudioStreamingCache.h | ||
bool IsInUse() |
AudioStreamingCache.h | ||
bool IsLoadInProgress() |
AudioStreamingCache.h | ||
bool IsSoundWaveRetainingAudio() |
AudioStreamingCache.h | ||
void ReleaseRetainedAudioOnSoundWave() |
AudioStreamingCache.h | ||
void UpdateDebugInfoLoadingBehavior() |
AudioStreamingCache.h | ||
void WaitForAsyncLoadCompletion
(
bool bCancel |
AudioStreamingCache.h | ||
bool WantsFilteredLogging() |
AudioStreamingCache.h |