Version: 5.5

AudioSettings.outputSampleRate

Switch to Manual
public static int outputSampleRate ;

Description

Считывает или устанавливает текущую скорость вывода миксера.

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.