FCachedAudioStreamingManager::TrimMemory

This will start evicting elements from the cache until either hit our target of bytes or run out of chunks we can free.

Windows
MacOS
Linux

Override Hierarchy

IAudioStreamingManager::TrimMemory()

FCachedAudioStreamingManager::TrimMemory()

References

Module

Engine

Header

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

Include

#include "AudioStreamingCache.h"

Source

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

Syntax

virtual uint64 TrimMemory
(
    uint64 NumBytesToFree
)

Remarks

This will start evicting elements from the cache until either hit our target of bytes or run out of chunks we can free.

Returns

the amount of bytes we managed to free.

Parameters

Parameter

Description

NumBytesToFree

The amount of memory we would like to free, in bytes.

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