FCachedAudioStreamingManager::GetLoadedChunk

Gets a pointer to a chunk of audio data

Windows
MacOS
Linux

Override Hierarchy

IAudioStreamingManager::GetLoadedChunk()

FCachedAudioStreamingManager::GetLoadedChunk()

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 FAudioChunkHandle GetLoadedChunk
(
    const USoundWave * SoundWave,
    uint32 ChunkIndex,
    bool bBlockForLoad,
    bool bForImmediatePlayback
) const

Remarks

Gets a pointer to a chunk of audio data

Returns

a handle to the loaded chunk. Can return a default constructed FAudioChunkHandle if the chunk is not loaded yet.

Parameters

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.

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