Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FSoundWavePCMWriter
Description
This writes out the InSampleBuffer as a wav file at the path specified by FilePath and FileName. If FilePath is a relative path, it will be relative to the /Saved/BouncedWavFiles folder, otherwise specified absolute path will be used. FileName should not contain the extension. This can be used in non-editor builds.
| Name | BeginWriteToWavFile |
| 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 |
bool BeginWriteToWavFile
(
const TSampleBuffer <> & InSampleBuffer,
const FString & FileName,
const FString & FilePath,
TFunction < void> OnSuccess
)