Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FAudioChunkCache
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
uint64 AddOrTouchChunk
(
const FChunkKey& InKey, |
Places chunk in cache, or puts this chunk back at the top of the cache if it's already loaded. | AudioStreamingCache.h | |
uint64 AddOrTouchChunk
(
const FChunkKey& InKey, |
AudioStreamingCache.h |
AddOrTouchChunk(const FChunkKey &, const TSharedRef< const FSoundWaveData > &, TFunction< void(EAudioChunkLoadResult) >, ENamedThreads::Type, bool)
Description
Places chunk in cache, or puts this chunk back at the top of the cache if it's already loaded. Returns the static lookup ID of the chunk in the cache on success, or InvalidAudioStreamCacheLookupID on failiure.
| Name | AddOrTouchChunk |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/AudioStreamingCache.h |
| Include Path | #include "AudioStreamingCache.h" |
uint64 AddOrTouchChunk
(
const FChunkKey & InKey,
const TSharedRef < const FSoundWaveData > & InSoundWavePtr,
TFunction < void) > OnLoadCompleted,
ENamedThreads::Type CallbackThread,
bool bNeededForPlayback
)
AddOrTouchChunk(const FChunkKey &, const TSharedPtr< FSoundWaveData > &, TFunction< void(EAudioChunkLoadResult) >, ENamedThreads::Type, bool)
| Name | AddOrTouchChunk |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/AudioStreamingCache.h |
| Include Path | #include "AudioStreamingCache.h" |
uint64 AddOrTouchChunk
(
const FChunkKey & InKey,
const TSharedPtr < FSoundWaveData > & InSoundWavePtr,
TFunction < void) > OnLoadCompleted,
ENamedThreads::Type CallbackThread,
bool bNeededForPlayback
)