| IAudioStreamingManager::GetLoadedChunk()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/AudioStreamingCache.h |
Include |
#include "AudioStreamingCache.h" |
Source |
/Engine/Source/Runtime/Engine/Private/AudioStreamingCache.cpp |
virtual FAudioChunkHandle GetLoadedChunk
(
const USoundWave * SoundWave,
uint32 ChunkIndex,
bool bBlockForLoad,
bool bForImmediatePlayback
) const
Gets a pointer to a chunk of audio data
a handle to the loaded chunk. Can return a default constructed FAudioChunkHandle if the chunk is not loaded yet.
Parameter |
Description |
---|---|
SoundWave |
SoundWave we want a chunk from |
ChunkIndex |
Index of the chunk we want |
bBlockForLoad |
if true, will block this thread until we finish loading this chunk. |
bForImmediatePlayback |
if true, will optionally reprioritize this chunk's load request. See au.streamcaching.PlaybackRequestPriority. |