# AudioRenderer

> Allow recording the main output of the game or specific groups in the AudioMixer.

## Definition

* **Type:** Class
* **Namespace:** [UnityEngine](/engine/6000.7/script-reference/unityengine.md)
* **Assembly:** UnityEngine.AudioModule

```csharp
public class AudioRenderer
```

## Static Methods

| Method                                                                                                                      | Description                                                                                                                                                                                                      |
| --------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GetSampleCountForCaptureFrame](/engine/6000.7/script-reference/unityengine/audiorenderer/getsamplecountforcaptureframe.md) | Returns the number of samples available since the last time [AudioRenderer.Render](/engine/6000.7/script-reference/unityengine/audiorenderer/render.md) was called. This is dependent on the frame capture rate. |
| [Render](/engine/6000.7/script-reference/unityengine/audiorenderer/render.md)                                               | Performs the recording of the main output as well as any optional mixer groups that have been registered via AddMixerGroupSink.                                                                                  |
| [Start](/engine/6000.7/script-reference/unityengine/audiorenderer/start.md)                                                 | Enters audio recording mode. After this Unity will output silence until [AudioRenderer.Stop](/engine/6000.7/script-reference/unityengine/audiorenderer/stop.md) is called.                                       |
| [Stop](/engine/6000.7/script-reference/unityengine/audiorenderer/stop.md)                                                   | Exits audio recording mode. After this audio output will be audible again.                                                                                                                                       |
