Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Sound > API/Runtime/Engine/Sound/FSoundWavePCMLoader
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 |
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.