FNiagaraDataInterfaceProxySubmix::PopAudio

Copies the minimum of NumSamples or however many samples are available into OutBuffer.

Windows
MacOS
Linux

References

Module

Niagara

Header

/Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceAudio.h

Include

#include "NiagaraDataInterfaceAudio.h"

Source

/Engine/Plugins/FX/Niagara/Source/Niagara/Private/NiagaraDataInterfaceAudio.cpp

Syntax

int32 PopAudio
(
    float * OutBuffer,
    int32 NumSamples,
    bool bUseLatestAudio
)

Remarks

Copies the minimum of NumSamples or however many samples are available into OutBuffer. Returns the number of samples copied, or -1 if this output's corresponding input has been destroyed.

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