FSoundWavePCMWriter::BeginWriteToSoundWave

This kicks off an operation to write InSampleBuffer to a [USoundWave](API\Runtime\Engine\Sound\USoundWave) asset at the specified file path relative to the project directory.

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

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

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