UMediaSoundComponent::OnGenerateAudio

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

Windows
MacOS
Linux

Override Hierarchy

USynthComponent::OnGenerateAudio()

UMediaSoundComponent::OnGenerateAudio()

References

Module

MediaAssets

Header

/Engine/Source/Runtime/MediaAssets/Public/MediaSoundComponent.h

Include

#include "MediaSoundComponent.h"

Source

/Engine/Source/Runtime/MediaAssets/Private/Assets/MediaSoundComponent.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.

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