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

IProcessor

interface in UnityEngine.Audio


Implements interfaces:IProcessor

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

Description

An audio processor with some extra callbacks intended to allow scheduling different management work over the course of a mix-frame.

Usage of this is generally very low level, and intended to provide integration points for internal audio middleware, that share the same input/output resources as the host audio system. Create instances of these using ControlContext.AllocateRootOutput.

Public Methods

Method Description
EarlyProcessingPerform any tasks necessary before any other resource managed by this RootOutput.IProcessor is being used by anything else.
EndProcessingReturn the main result of your computation to the system in `output`.
ProcessSchedule your main body of work in parallel to everything else.
RemovedFromProcessingCalled potentially after a sequence of Processor.IProcessor.Update, when a IProcessor has been disposed from eg. RootOutput.Dispose.