FAudioChunkCache::TrimMemory

This function will reclaim memory by freeing as many chunks as needed to free BytesToFree.

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

uint64 TrimMemory
(
    uint64 BytesToFree
)

Remarks

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.

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