Navigation
API > API/Runtime > API/Runtime/SignalProcessing
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().
| Name | FPatchMixerSplitter |
| Type | class |
| Header File | /Engine/Source/Runtime/SignalProcessing/Public/DSP/MultithreadedPatching.h |
| Include Path | #include "DSP/MultithreadedPatching.h" |
Syntax
class FPatchMixerSplitter
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| IntermediateBuffer | FAlignedFloatBuffer | This buffer is used to pop audio from our Mixer and push to our splitter. | DSP/MultithreadedPatching.h | |
| Mixer | FPatchMixer | DSP/MultithreadedPatching.h | ||
| Splitter | FPatchSplitter | DSP/MultithreadedPatching.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddNewInput
(
FPatchInput& InInput |
Adds a new a patch input from an existing patch input object. | DSP/MultithreadedPatching.h | |
FPatchInput AddNewInput
(
int32 MaxLatencyInSamples, |
Adds a new input to the tap collector. | DSP/MultithreadedPatching.h | |
void AddNewOutput
(
const FPatchOutputStrongPtr& InPatchOutputStrongPtr |
Adds a new a patch from an existing patch output. | DSP/MultithreadedPatching.h | |
FPatchOutputStrongPtr AddNewOutput
(
int32 MaxLatencyInSamples, |
Adds a new output. | DSP/MultithreadedPatching.h | |
void ProcessAudio() |
Mixes audio from all inputs and pushes it to all outputs. Should be called regularly. | DSP/MultithreadedPatching.h | |
void RemovePatch
(
const FPatchInput& InInput |
Removes a tap from the tap collector. | DSP/MultithreadedPatching.h |