Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


outputSampleRate

Get the mixer's current output rate.
Read time 1 minuteLast updated 6 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public static int outputSampleRate { get; set; }

Remarks

As of version 5.0 setting the sample rate from scripts is no longer supported. This has to be set in the Audio section of the project settings instead.