FAudioChunkCache::GetLeastRecentlyUsedRetainedSoundWaves

Returns an array of the USoundwaves retaining the least recently used retained chunks in the cache.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AudioStreamingCache.h

Include

#include "AudioStreamingCache.h"

Source

/Engine/Source/Runtime/Engine/Private/AudioStreamingCache.cpp

Syntax

TArray< FObjectKey > GetLeastRecentlyUsedRetainedSoundWaves
(
    int32 NumSoundWavesToRetrieve
)

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss