FSoundWavePCMLoader::LoadSoundWave

Loads a [USoundWave](API\Runtime\Engine\Sound\USoundWave), call on game thread. Unless called with bSynchnous set to true, this class will require [Update()](API\Runtime\Engine\Sound\FSoundWavePCMLoader\Update) to be called on the game thread.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Sound/SampleBufferIO.h

Include

#include "Sound/SampleBufferIO.h"

Source

/Engine/Source/Runtime/Engine/Private/SampleBufferIO.cpp

Syntax

void LoadSoundWave
(
    USoundWave * InSoundWave,
    TFunction< void *SoundWave, const Audio::FSampleBuffer &OutSampleBuffer)> OnLoaded,
    bool bSynchrounous
)

Remarks

Loads a USoundWave, call on game thread. Unless called with bSynchnous set to true, this class will require Update() to be called on the game thread.

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