Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FAudioChunkCache
Description
Returns an array of the USoundwaves retaining the least recently used retained chunks in the cache. This can potentially return soundwaves for chunks that are retained by a currently playing sound, if the cache is thrashed enough.
| Name | GetLeastRecentlyUsedRetainedSoundWaves |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/AudioStreamingCache.h |
| Include Path | #include "AudioStreamingCache.h" |
TArray < FObjectKey > GetLeastRecentlyUsedRetainedSoundWaves
(
int32 NumSoundWavesToRetrieve
)