Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Sound/SampleBufferIO.h |
Include |
#include "Sound/SampleBufferIO.h" |
Source |
/Engine/Source/Runtime/Engine/Private/SampleBufferIO.cpp |
void LoadSoundWave
(
USoundWave * InSoundWave,
TFunction< void *SoundWave, const Audio::FSampleBuffer &OutSampleBuffer)> OnLoaded,
bool bSynchrounous
)
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.