Version: Unity 6 (6000.0)
LanguageEnglish
  • C#

AudioConfiguration.sampleRate

public int sampleRate;

Description

The current sample rate of the audio output device used.

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