FSpectrumAnalyzerBuffer

This class locks an input buffer (for writing) and an output buffer (for reading).

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

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

Include

#include "DSP/SpectrumAnalyzer.h"

Syntax

class FSpectrumAnalyzerBuffer

Remarks

This class locks an input buffer (for writing) and an output buffer (for reading). Uses triple buffering semantics.

Constructors

Name Description

Public function

FSpectrumAnalyzerBuffer()

Public function

FSpectrumAnalyzerBuffer

(
    int32 InNum
)

Functions

Name Description

Public function Const

const Aligne...

 

LockMostRecentBuffer()

  1. Used to lock the most recent buffer we analyzed.

Public function Const

const Aligne...

 

LockMostRecentBuffer

(
    double& OutTimestamp
)

Output.

Public function

void

 

Reset

(
    int32 InNum
)

Public function

AlignedFloat...

 

StartWorkOnBuffer()

  1. Used on analysis thread to lock a buffer to write to.

Public function

void

 

StopWorkOnBuffer

(
    double InTimestamp
)

When calling stop work on buffer, also set timestmap associated with buffer.

Public function

void

 

UnlockBuffer()

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