/Engine/Source/Runtime/Engine/Classes/Sound/SampleBufferIO.h
FSoundWavePCMWriterThis class can be used to save aTSampleBufferto either a wav file or aUSoundWaveusing BeginGeneratingSoundWaveFromBuffer, BeginWriteToSoundWave, or BeginWriteToWavFile on the game thread. This class uses an async task to generate and write the file to disk.
class FSoundWavePCMWriter