Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

GetSampleCountForCaptureFrameReturns the number of samples available since the last time AudioRenderer.Render was called. This is dependent on the frame capture rate.
RenderPerforms the recording of the main output as well as any optional mixer groups that have been registered via AddMixerGroupSink.
StartEnters audio recording mode. After this Unity will output silence until AudioRenderer.Stop is called.
StopExits audio recording mode. After this audio output will be audible again.