Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FAudioChunkCache
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/AudioStreamingCache.h |
| Include | #include "AudioStreamingCache.h" |
| Source | /Engine/Source/Runtime/Engine/Private/AudioStreamingCache.cpp |
TArray< FObjectKey > GetLeastRecentlyUsedRetainedSoundWaves
&40;
int32 NumSoundWavesToRetrieve
&41;
Remarks
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.