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

ControlContext.Manual.BeginMix

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 Nullable<RealtimeContext> BeginMix(ulong dspTick);

Returns

Nullable<RealtimeContext> A nullable RealtimeContext. This might hold no value in cases where audio is temporarily bypassed on the device, or similar. You should only Manual.EndMix if there's a non-null return from this function.

Description

Begin a mix.

"Mixes" in Unity span a period of time where you can issue processing calls. They must be ended in pairs with a call to Manual.EndMix.