Start()
Enters audio recording mode. After this Unity will output silence until AudioRenderer.Stop is called.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.AudioModule
public static bool Start()
Returns
Type | Description |
|---|---|
| bool | Returns |
Remarks
While recording, Unity performs audio rendering on the main thread instead of the audio thread, which can increase frame times.
Recording stops automatically if the audio system is reinitialized, for example when you change the audio settings in Project Settings, call AudioSettings.Reset, or the output device changes. Unity logs a warning when this happens. Call AudioRenderer.Start again to resume recording.