ドキュメント

Unity Engine

Unity Engine

outputSampleRate

Get the mixer's current output rate.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.