FAudioChunkCache::AddOrTouchChunk

Places chunk in cache, or puts this chunk back at the top of the cache if it's already loaded. Returns false on failure.

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

bool AddOrTouchChunk
(
    const FChunkKey & InKey,
    TFunction< void) > OnLoadCompleted,
    ENamedThreads::Type CallbackThread,
    bool bNeededForPlayback
)

Remarks

Places chunk in cache, or puts this chunk back at the top of the cache if it's already loaded. Returns false on failure.

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