Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Sound/SampleBufferIO.h |
Include |
#include "Sound/SampleBufferIO.h" |
Source |
/Engine/Source/Runtime/Engine/Private/SampleBufferIO.cpp |
USoundWave * SynchronouslyWriteSoundWave
(
const TSampleBuffer<> & InSampleBuffer,
const FString * FileName,
const FString * FilePath
)
This is a blocking call that will return the SoundWave generated from InSampleBuffer. Optionally, if you're using the editor, you can also write the resulting soundwave out to the content browser using the FileName and FilePath parameters.