UAudioCaptureComponent::OnGenerateAudio

Called when more audio is needed to be generated This method of generating audio is soon to be deprecated.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

USynthComponent::OnGenerateAudio()

UAudioCaptureComponent::OnGenerateAudio()

References

Module

AudioCapture

Header

/Engine/Plugins/Runtime/AudioCapture/Source/AudioCapture/Public/AudioCaptureComponent.h

Include

#include "AudioCaptureComponent.h"

Source

/Engine/Plugins/Runtime/AudioCapture/Source/AudioCapture/Private/AudioCaptureComponent.cpp

Syntax

virtual int32 OnGenerateAudio
(
    float * OutAudio,
    int32 NumSamples
)

Remarks

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.