FSoundWavePCMWriter::SynchronouslyWriteSoundWave

This is a blocking call that will return the SoundWave generated from InSampleBuffer.

Windows
MacOS
Linux

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

Syntax

USoundWave * SynchronouslyWriteSoundWave
(
    const TSampleBuffer<> & InSampleBuffer,
    const FString * FileName,
    const FString * FilePath
)

Remarks

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss