Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/AudioStreamingCache.h |
Include |
#include "AudioStreamingCache.h" |
Source |
/Engine/Source/Runtime/Engine/Private/AudioStreamingCache.cpp |
uint64 TrimMemory
(
uint64 BytesToFree,
bool bAllowRetainedChunkTrimming
)
This function will reclaim memory by freeing as many chunks as needed to free BytesToFree. returns the amount of bytes we were actually able to free. It's important to note that this will block any chunk requests.