GeneratorInstance.Setup
Information on the audio setup of the GeneratorInstance passed back to the instantiator from GeneratorInstance.IControl<TRealtime>.Configure.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Audio
- Assembly: UnityEngine.AudioModule
public readonly struct GeneratorInstance.Setup
Remarks
Additional Resources: ControlContext.GetConfiguration
Fields
Value | Description |
|---|---|
| sampleRate | Declare the sample rate the output of this GeneratorInstance will be played at. |
| speakerMode | Declare the AudioSpeakerMode of this GeneratorInstance and by extension the number of channels this GeneratorInstance will use. |
Constructors
Constructor | Description |
|---|---|
| Setup(UnityEngine.Audio.AudioFormat@) | Create a new generator setup, deriving values from |
| Setup(UnityEngine.AudioSpeakerMode,System.Int32) | Create a new generator setup. |