Handle to a patch. 更多...
#include <MultithreadedPatching.h>
Public 成员函数 | |
| FPatchInput () | |
| Default constructed FPatchInput instances will always return -1 for PushAudio and true for IsOutputStillActive. | |
| FPatchInput (const FPatchOutputStrongPtr &InOutput) | |
| PatchInputs can only be created from explicit outputs. | |
| bool | IsOutputStillActive () |
| Returns false if this output was removed, either because someone called FPatchMixer::RemoveTap with this FPatchInput, or the FPatchMixer was destroyed. | |
| int32 | PushAudio (const float *InBuffer, int32 NumSamples) |
| pushes audio from InBuffer to the corresponding FPatchOutput. 更多... | |
Handle to a patch.
Should only be used by a single thread.
| int32 Audio::FPatchInput::PushAudio | ( | const float * | InBuffer, |
| int32 | NumSamples | ||
| ) |
pushes audio from InBuffer to the corresponding FPatchOutput.
Returns how many samples were able to be pushed, or -1 if the output was disconnected.