#include <AudioStreamingCache.h>
|
| enum class | EDebugDisplayElementTypes {
NumRetainedAndPlaying = 0
, NumRetained
, NumPrimedAndPlaying
, NumPrimed
,
NumRetainedAndPlayingCacheMiss
, NumRetainedCacheMiss
, NumPrimedAndPlayingCacheMiss
, NumPrimedCacheMiss
,
NumLODAndPlaying
, NumLOD
, NumTrimmed
, NumLoadInProgress
,
NumOther
, Count
} |
| |
|
| | FAudioChunkCache (uint32 InMaxChunkSize, uint32 NumChunks, uint64 InMemoryLimitInBytes) |
| |
| | ~FAudioChunkCache () |
| |
| uint64 | AddOrTouchChunk (const FChunkKey &InKey, const TSharedPtr< FSoundWaveData > &InSoundWavePtr, TFunction< void(EAudioChunkLoadResult) > OnLoadCompleted, ENamedThreads::Type CallbackThread, bool bNeededForPlayback) |
| |
| TArrayView< uint8 > | GetChunk (const FChunkKey &InKey, const TSharedPtr< FSoundWaveData > &InSoundWavePtr, bool bBlockForLoadCompletion, bool bNeededForPlayback, uint64 &InOutCacheLookupID) |
| |
| void | AddNewReferenceToChunk (const FChunkKey &InKey) |
| |
| void | RemoveReferenceToChunk (const FChunkKey &InKey) |
| |
| void | ClearCache () |
| |
| void | AddForceInlineSoundWave (const FSoundWaveProxyPtr &) |
| |
| void | RemoveForceInlineSoundWave (const FSoundWaveProxyPtr &) |
| |
| void | AddMemoryCountedFeature (const FAudioStreamCacheMemoryHandle &Feature) |
| |
| void | RemoveMemoryCountedFeature (const FAudioStreamCacheMemoryHandle &Feature) |
| |
| uint64 | TrimMemory (uint64 BytesToFree, bool bAllowRetainedChunkTrimming) |
| |
| TArray< FObjectKey > | GetLeastRecentlyUsedRetainedSoundWaves (int32 NumSoundWavesToRetrieve) |
| |
| void | BlockForAllPendingLoads () const |
| |
| void | CancelAllPendingLoads () |
| |
| uint64 | ReportCacheSize () |
| |
| void | BeginLoggingCacheMisses () |
| |
| void | StopLoggingCacheMisses () |
| |
| FString | FlushCacheMissLog () |
| |
| uint64 | GetCacheLookupIDForChunk (const FChunkKey &InChunkKey) const |
| |
| void | SetCacheLookupIDForChunk (const FChunkKey &InChunkKey, uint64 InCacheLookupID) |
| |
| TPair< int, int > | DebugDisplayLegacy (UWorld *World, FViewport *Viewport, FCanvas *Canvas, int32 X, int32 Y, const FVector *ViewLocation, const FRotator *ViewRotation) const |
| |
| FString | DebugPrint () |
| |
| TPair< int, int > | DebugDisplay (UWorld *World, FViewport *Viewport, FCanvas *Canvas, int32 X, int32 Y, const FVector *ViewLocation, const FRotator *ViewRotation) const |
| |
| TPair< int, int > | DebugVisualDisplay (UWorld *World, FViewport *Viewport, FCanvas *Canvas, int32 X, int32 Y, const FVector *ViewLocation, const FRotator *ViewRotation) const |
| |
| TPair< int, int > | DebugBirdsEyeDisplay (UWorld *World, FViewport *Viewport, FCanvas *Canvas, int32 X, int32 Y, const FVector *ViewLocation, const FRotator *ViewRotation) const |
| |
| void | HandleStarvation (const FSoundWaveProxyPtr &SoundWave, const uint32 ChunkIndex, const uint32 InBytesProduced, const uint32 InBytesExpected) |
| |
| void | IncrementCacheOverflowCounter () |
| |
| int32 | GetNumberOfCacheOverflows () const |
| |
◆ EDebugDisplayElementTypes
| Enumerator |
|---|
| NumRetainedAndPlaying | |
| NumRetained | |
| NumPrimedAndPlaying | |
| NumPrimed | |
| NumRetainedAndPlayingCacheMiss | |
| NumRetainedCacheMiss | |
| NumPrimedAndPlayingCacheMiss | |
| NumPrimedCacheMiss | |
| NumLODAndPlaying | |
| NumLOD | |
| NumTrimmed | |
| NumLoadInProgress | |
| NumOther | |
| Count | |
◆ FAudioChunkCache()
| FAudioChunkCache::FAudioChunkCache |
( |
uint32 |
InMaxChunkSize, |
|
|
uint32 |
NumChunks, |
|
|
uint64 |
InMemoryLimitInBytes |
|
) |
| |
◆ ~FAudioChunkCache()
| FAudioChunkCache::~FAudioChunkCache |
( |
| ) |
|
◆ AddForceInlineSoundWave()
◆ AddMemoryCountedFeature()
◆ AddNewReferenceToChunk()
| void FAudioChunkCache::AddNewReferenceToChunk |
( |
const FChunkKey & |
InKey | ) |
|
◆ AddOrTouchChunk()
◆ BeginLoggingCacheMisses()
| void FAudioChunkCache::BeginLoggingCacheMisses |
( |
| ) |
|
◆ BlockForAllPendingLoads()
| void FAudioChunkCache::BlockForAllPendingLoads |
( |
| ) |
const |
◆ CancelAllPendingLoads()
| void FAudioChunkCache::CancelAllPendingLoads |
( |
| ) |
|
◆ ClearCache()
| void FAudioChunkCache::ClearCache |
( |
| ) |
|
◆ DebugBirdsEyeDisplay()
◆ DebugDisplay()
◆ DebugDisplayLegacy()
◆ DebugPrint()
| FString FAudioChunkCache::DebugPrint |
( |
| ) |
|
◆ DebugVisualDisplay()
◆ DoesKeyContainValidChunkIndex()
◆ FlushCacheMissLog()
| FString FAudioChunkCache::FlushCacheMissLog |
( |
| ) |
|
◆ GetCacheLookupIDForChunk()
| uint64 FAudioChunkCache::GetCacheLookupIDForChunk |
( |
const FChunkKey & |
InChunkKey | ) |
const |
◆ GetChunk()
◆ GetLeastRecentlyUsedRetainedSoundWaves()
| TArray< FObjectKey > FAudioChunkCache::GetLeastRecentlyUsedRetainedSoundWaves |
( |
int32 |
NumSoundWavesToRetrieve | ) |
|
◆ GetNumberOfCacheOverflows()
| int32 FAudioChunkCache::GetNumberOfCacheOverflows |
( |
| ) |
const |
|
inline |
◆ HandleStarvation()
◆ IncrementCacheOverflowCounter()
| void FAudioChunkCache::IncrementCacheOverflowCounter |
( |
| ) |
|
|
inline |
◆ RemoveForceInlineSoundWave()
◆ RemoveMemoryCountedFeature()
◆ RemoveReferenceToChunk()
| void FAudioChunkCache::RemoveReferenceToChunk |
( |
const FChunkKey & |
InKey | ) |
|
◆ ReportCacheSize()
| uint64 FAudioChunkCache::ReportCacheSize |
( |
| ) |
|
◆ SetCacheLookupIDForChunk()
| void FAudioChunkCache::SetCacheLookupIDForChunk |
( |
const FChunkKey & |
InChunkKey, |
|
|
uint64 |
InCacheLookupID |
|
) |
| |
◆ StopLoggingCacheMisses()
| void FAudioChunkCache::StopLoggingCacheMisses |
( |
| ) |
|
◆ TrimMemory()
| uint64 FAudioChunkCache::TrimMemory |
( |
uint64 |
BytesToFree, |
|
|
bool |
bAllowRetainedChunkTrimming |
|
) |
| |
◆ MaxChunkSize
| const int32 FAudioChunkCache::MaxChunkSize |
The documentation for this class was generated from the following files: