Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Sound > API/Runtime/Engine/Sound/FSoundWavePCMWriter
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 |
bool BeginWriteToWavFile
&40;
const TSampleBuffer<> & InSampleBuffer,
const FString & FileName,
FString & FilePath,
TFunction< void()> OnSuccess
&41;
Remarks
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.