Navigation
API > API/Runtime > API/Runtime/AudioMixer > API/Runtime/AudioMixer/USynthComponent
Description
Called when more audio is needed to be generated This method of generating audio is soon to be deprecated. For all new synth components, create an FSoundGenerator instance and implement CreateSoundGenerator method to create an instance.
| Name | OnGenerateAudio |
| Type | function |
| Header File | /Engine/Source/Runtime/AudioMixer/Public/Components/SynthComponent.h |
| Include Path | #include "Components/SynthComponent.h" |
virtual int32 OnGenerateAudio
(
float * OutAudio,
int32 NumSamples
)