USoundWave::GetHandleForChunkOfAudio

If stream caching is enabled, allows the user to retain a strong handle to the first chunk of audio in the cache.

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

void GetHandleForChunkOfAudio
(
    TFunction< void &&)> OnLoadCompleted,
    bool bForceSync,
    int32 ChunkIndex,
    ENamedThreads::Type CallbackThread
)

Remarks

If stream caching is enabled, allows the user to retain a strong handle to the first chunk of audio in the cache. Please

that this USoundWave is NOT guaranteed to be still alive when OnLoadCompleted is called.

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