RootOutputInstance
A ProcessorInstance with extra callbacks intended to allow scheduling different management and compute work over the course of a mix frame. Finally, additional audio can be appended to the final audio output.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
- Implements: IEquatable<RootOutputInstance>
public struct RootOutputInstance : IEquatable<RootOutputInstance>
Remarks
Usage of this is generally very low level, and intended to provide integration points for internal or external audio middleware, that share the same input/output resources as the host audio system. Create instances of these using ControlContext.AllocateRootOutput.
Methods
Method | Description |
|---|---|
| Equals | Checks if this instance equals a given object. |
| GetHashCode | Retrieves a hash code based on this instance. |
Operators
Operator | Description |
|---|---|
| operator == | Checks if two instances are equal. |
| ProcessorInstance | Convert this RootOutputInstance to its more general ProcessorInstance representation. |
| operator != | Checks if two instances are not equal. |
Interfaces
Interface | Description |
|---|---|
| RootOutputInstance.IControl<TRealtime> | The control interface an implementation of a RootOutputInstance must implement on a struct to be fully formed. |
| RootOutputInstance.IRealtime | The processing interface an implementation of a RootOutputInstance must implement on a struct to be fully formed. |