FAsyncSpectrumAnalyzer::LockOutputBuffer

You can call this function to ensure that you're sampling the same window of frequency data, Then call UnlockOutputBuffer when you're done.

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

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

Include

#include "DSP/SpectrumAnalyzer.h"

Source

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

Syntax

void LockOutputBuffer()

Remarks

You can call this function to ensure that you're sampling the same window of frequency data, Then call UnlockOutputBuffer when you're done. Otherwise, GetMagnitudeForFrequency and GetPhaseForFrequency will always use the latest window of frequency data.

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