FSilenceDetection::ProcessBuffer

Buffers InAudio and renders any non-silent audio to OutAudio.

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

/Engine/Source/Runtime/SignalProcessing/Public/DSP/VoiceProcessing.h

Include

#include "DSP/VoiceProcessing.h"

Source

/Engine/Source/Runtime/SignalProcessing/Private/VoiceProcessing.cpp

Syntax

int32 ProcessBuffer
(
    const float * InAudio,
    float * OutAudio,
    int32 NumSamples
)

Remarks

Buffers InAudio and renders any non-silent audio to OutAudio. Returns the number of samples written to OutAudio. The number of samples returned will only be less than NumSamples if the signal becomes audible mid-buffer. We do not return partial buffers when returning from an audible state to a silent state. This should also work in place, i.e. if InAudio == OutAudio.

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