Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FSoundWavePCMWriter
Description
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.
| Name | SynchronouslyWriteSoundWave |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Classes/Sound/SampleBufferIO.h |
| Include Path | #include "Sound/SampleBufferIO.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SampleBufferIO.cpp |
USoundWave * SynchronouslyWriteSoundWave
(
const TSampleBuffer <> & InSampleBuffer,
const FString * FileName,
const FString * FilePath
)