Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


sampleRate

The current sample rate of the audio output device used.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public int sampleRate

Remarks

For an example of how to use this property, refer to AudioSettings.Reset.