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 BeginWriteToSoundWave
(
const FString & FileName,
const TSampleBuffer <> & InSampleBuffer,
FString InPath,
TFunction < void *)> OnSuccess
)
Remarks
This kicks off an operation to write InSampleBuffer to a USoundWave asset at the specified file path relative to the project directory. This function should only be used in the editor. If a USoundWave asset already exists