Navigation
API > API/Runtime > API/Runtime/SignalProcessing > API/Runtime/SignalProcessing/DSP
References
| Module | SignalProcessing |
| Header | /Engine/Source/Runtime/SignalProcessing/Public/DSP/MultithreadedPatching.h |
| Include | #include "DSP/MultithreadedPatching.h" |
Syntax
class FPatchMixerSplitter
Remarks
This class is used to mix multiple inputs from disparate threads to a single mixdown and deliver that mixdown to multiple outputs. This class is MPMC, but only one thread can and should call ProcessAudio().
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddNewInput
(
FPatchInput& InInput |
Adds a new a patch input from an existing patch input object. | |
| FPatchInput | AddNewInput
(
int32 MaxLatencyInSamples, |
Adds a new input to the tap collector. | |
| void | AddNewOutput
(
const FPatchOutputStrongPtr& InPatchOutputStrongPtr |
Adds a new a patch from an existing patch output. | |
| FPatchOutputStrongPtr | AddNewOutput
(
int32 MaxLatencyInSamples, |
Adds a new output. | |
| void | ProcessAudio () |
Mixes audio from all inputs and pushes it to all outputs. Should be called regularly. | |
| void | RemovePatch
(
const FPatchInput& InInput |
Removes a tap from the tap collector. |