USoundWave::GetHandleForChunkOfAudio

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

Choose your operating system:

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.