Module |
|
Header |
/Engine/Source/Runtime/SignalProcessing/Public/DSP/MultithreadedPatching.h |
Include |
#include "DSP/MultithreadedPatching.h" |
class FPatchSplitter
This class is used to post audio from one source to multiple threads. This class is SPMC: multiple threads can call FPatchOutputStrongPtr->PopAudio safely, but only one thread can call PushAudio.
Name | Description | |
---|---|---|
|
FPatchSplitter() |
Constructor. |
Name | Description | |
---|---|---|
|
~FPatchSplitter() |
The destructor will mark every still connected FPatchOutput as stale. |
Name | Description | ||
---|---|---|---|
|
FPatchOutput... |
AddNewPatch ( |
Adds a new output. |
|
MaxNumberOfSamplesThatCanBePushed() |
This function call gets the maximum number of samples that's safe to push. |
|
|
Num() |
This returns the number of outputs currently connected to this patch splitter. |
|
|
PushAudio ( |
This call pushes audio to all outputs connected to this splitter. |