engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
Audio::FPatchInput类 参考

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.

成员函数说明

◆ PushAudio()

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.


该类的文档由以下文件生成: