FAudioDevice::Precache

Precaches the passed in sound node wave object. Precaches the passed in sound node wave object.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/AudioDevice.h

Include

#include "AudioDevice.h"

Source

/Engine/Source/Runtime/Engine/Private/AudioDevice.cpp

Syntax

virtual void Precache
(
    USoundWave * SoundWave,
    bool bSynchronous,
    bool bTrackMemory,
    bool bForceFullDecompression
)

Remarks

Precaches the passed in sound node wave object.

Precaches the passed in sound node wave object.

Parameters

Parameter

Description

SoundWave

Resource to be precached.

bSynchronous

If true, this function will block until a vorbis decompression is complete

bTrackMemory

If true, the audio mem stats will be updated

bForceFullDecompression

If true, the sound wave will be fully decompressed regardless of size.

SoundWave

Resource to be precached.

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