USoundWave::RetainCompressedAudio

If stream caching is enabled, set this sound wave to retain a strong handle to its first chunk.

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 RetainCompressedAudio
(
    bool bForceSync
)

Remarks

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.