au.streamcaching.FlushAudioCache
au.streamcaching.FlushAudioCache
#Overview
name: au.streamcaching.FlushAudioCache
This variable is created as a Console Variable (cvar).
- type:
Cmd
- help:
This will flush any non retained audio from the cache when Stream Caching is enabled.
It is referenced in 1
C++ source file.
#Summary
#References in C++ code
#Callsites
This variable is referenced in the following C++ source code:
#Loc: <Workspace>/Engine/Source/Runtime/Engine/Private/AudioStreamingCache.cpp:143
Scope: file
Source code excerpt:
static FAutoConsoleCommand GFlushAudioCacheCommand(
TEXT("au.streamcaching.FlushAudioCache"),
TEXT("This will flush any non retained audio from the cache when Stream Caching is enabled."),
FConsoleCommandDelegate::CreateStatic(
[]()
{
static constexpr uint64 NumBytesToFree = TNumericLimits<uint64>::Max() / 2;
uint64 NumBytesFreed = IStreamingManager::Get().GetAudioStreamingManager().TrimMemory(NumBytesToFree);