Version: Unity 6.3 Beta (6000.3)
LanguageEnglish
  • C#

ControlContext.AllocateRootOutput

Suggest a change

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.

Close

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.

Close

Cancel

Declaration

public Audio.RootOutput AllocateRootOutput(ref TProcessor processorState, ref TControl controlState, ref Audio.ControlContext.ProcessorCreationParameters creationParameters);

Parameters

Parameter Description
processorState The initial state available from the processing thread.
controlState The initial state available from the control thread.
creationParameters Additional parameters and initialization state for the processor.

Returns

RootOutput A RootOutput you own and control, that must later be destroyed with ControlContext.Destroy.

Description

Allocate a RootOutput with the specified processor and control state.

RootOutputs 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.