Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USoundWave
Description
If stream caching is enabled, allows the user to retain a strong handle to the first chunk of audio in the cache. Please note that this USoundWave is NOT guaranteed to be still alive when OnLoadCompleted is called.
| Name | GetHandleForChunkOfAudio |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Sound/SoundWave.h |
| Include Path | #include "Sound/SoundWave.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SoundWave.cpp |
void GetHandleForChunkOfAudio
(
TFunction < void &&)> OnLoadCompleted,
bool bForceSync,
int32 ChunkIndex,
ENamedThreads::Type CallbackThread
)