USoundWave::GetCacheLookupIDForChunk

This is called by the audio stream cache when we try to get a chunk of compressed data.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h

Include

#include "Sound/SoundWave.h"

Source

/Engine/Source/Runtime/Engine/Private/SoundWave.cpp

Syntax

uint64 GetCacheLookupIDForChunk
(
    uint32 InChunkIndex
)

Remarks

This is called by the audio stream cache when we try to get a chunk of compressed data. It allows us to look up the chunk directly, rather than searching the cache linearly. Returns InvalidAudioStreamCacheLookupID if the chunk hasn't been added to the cache.

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