USoundWave::RetainCompressedAudio

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

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.

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