Unity - Scripting API: Audio.ControlContext.AllocateRootOutput
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Declaration
public RootOutputInstance AllocateRootOutput(ref TRealtime realtimeState, ref TControl controlState, ref CreationParameters creationParameters);
Parameters
| Parameter | Description |
|---|---|
| controlState | The initial state available from the control thread. |
| realtimeState | The initial state available from the control thread. |
| creationParameters | Additional parameters and initialization state for the processor. |
RootOutputInstances have low-level acces to the threading model of the audio system and the final audio output, and are generally used to integrate larger internal or external audio systems.