Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FLegacyAudioStreamingManager
- IAudioStreamingManager::TrimMemory()
- FLegacyAudioStreamingManager::TrimMemory()
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/AudioStreaming.h |
Include | #include "AudioStreaming.h" |
Source | /Engine/Source/Runtime/Engine/Private/AudioStreaming.cpp |
virtual uint64 TrimMemory
&40;
uint64 NumBytesToFree
&41;
Remarks
This will start evicting elements from the cache until either hit our target of bytes or run out of chunks we can free. the amount of bytes we managed to free.
Parameters
Name | Description |
---|---|
NumBytesToFree | The amount of memory we would like to free, in bytes. |