Navigation
Unreal Engine C++ API Reference > Runtime > Engine > FAudioDevice
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Public/AudioDevice.h |
Include | #include "AudioDevice.h" |
Source | /Engine/Source/Runtime/Engine/Private/AudioDevice.cpp |
virtual void Precache
&40;
USoundWave &42; SoundWave,
bool bSynchronous,
bool bTrackMemory,
bool bForceFullDecompression
&41;
Remarks
Precaches the passed in sound node wave object.
Precaches the passed in sound node wave object.
Parameters
Name | 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. |