AudioRenderer
Allow recording the main output of the game or specific groups in the AudioMixer.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.AudioModule
public class AudioRenderer
Static Methods
Method | Description |
|---|---|
| GetSampleCountForCaptureFrame | Returns the number of samples available since the last time AudioRenderer.Render was called. This is dependent on the frame capture rate. |
| Render | Performs the recording of the main output as well as any optional mixer groups that have been registered via AddMixerGroupSink. |
| Start | Enters audio recording mode. After this Unity will output silence until AudioRenderer.Stop is called. |
| Stop | Exits audio recording mode. After this audio output will be audible again. |