Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/USoundWave
Description
If stream caching is enabled, set this sound wave to retain a strong handle to its first chunk. If not called on the game thread, bForceSync must be true.
| Name | RetainCompressedAudio |
| 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 RetainCompressedAudio
(
bool bForceSync
)