FPatchInput

Handle to a patch. Should only be used by a single thread.

Windows
MacOS
Linux

References

Module

SignalProcessing

Header

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

Include

#include "DSP/MultithreadedPatching.h"

Syntax

class FPatchInput

Remarks

Handle to a patch. Should only be used by a single thread.

Constructors

Name Description

Public function

FPatchInput()

Default constructed FPatchInput instances will always return -1 for PushAudio and true for IsOutputStillActive.

Public function

FPatchInput

(
    const FPatchOutputStrongPtr& InOut...
)

PatchInputs can only be created from explicit outputs.

Public function

FPatchInput

(
    const FPatchInput& Other
)

Public function

FPatchInput

(
    FPatchInput&& Other
)

Destructors

Name Description

Public function

~FPatchInput()

Functions

Name Description

Public function

bool

 

IsOutputStillActive()

Returns false if this output was removed, either because someone called FPatchMixer::RemoveTap with this FPatchInput, or the FPatchMixer was destroyed.

Public function

int32

 

PushAudio

(
    const float* InBuffer,
    int32 NumSamples
)

Pushes audio from InBuffer to the corresponding FPatchOutput.

Public function

void

 

SetGain

(
    float InGain
)

Operators

Name Description

Public function

FPatchInput ...

 

operator=

(
    const FPatchInput& Other
)

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