ProcessorInstance.Pipe
A bi-directional communication system typically between two logical threads.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Struct
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
public ref struct ProcessorInstance.Pipe
Remarks
One thread is referred to as "control" (main thread typically) and one as "realtime" (audio thread typically). Using ControlContext and RealtimeContext as keys to the APIs, you can read data the other thread sent you or send data back.
Methods
Method | Description |
|---|---|
| GetAvailableData | Access an enumerator to the currently available data. |
| SendData | Send data from ProcessorInstance.IRealtime to ProcessorInstance.IControl<TRealtime> or vice versa. |