USynthSound::OnGeneratePCMAudio

Virtual function to generate PCM audio from the audio render thread.

Windows
MacOS
Linux

Override Hierarchy

USoundWaveProcedural::OnGeneratePCMAudio()

USynthSound::OnGeneratePCMAudio()

References

Module

AudioMixer

Header

/Engine/Source/Runtime/AudioMixer/Public/Components/SynthComponent.h

Include

#include "Components/SynthComponent.h"

Source

/Engine/Source/Runtime/AudioMixer/Private/Components/SynthComponent.cpp

Syntax

virtual int32 OnGeneratePCMAudio
(
    TArray< uint8 > & OutAudio,
    int32 NumSamples
)

Remarks

Virtual function to generate PCM audio from the audio render thread. Returns number of samples generated

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