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

Manual

struct in UnityEngine.Audio

/

Implemented in:UnityEngine.AudioModule

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

A manually-managed ControlContext for usage outside of the normal Unity audio system (tests, custom audio system).

This allows you to drive normally automatic functionality on scriptable processors contained within this ControlContext. It's currently undefined behaviour to call any APIs from different threads simultaneously, so this can currently only be used for "offline usage".

Properties

Property Description
context The context being manually driven.

Public Methods

Method Description
BeginMix Begin a mix.
Dispose Dispose a custom-created ControlContext.
EndMix End a previously begun mix, additionally rendering any RootOutputInstances into .
Update Update and submit any queued commands found on ControlContext, making them available to the mixing functionality functions.