瀏覽代碼

Mutable fields should not be "public static" (#5352)

Marco Carvalho 2 年之前
父節點
當前提交
fffc3ed193
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/Ryujinx.Audio/Constants.cs

+ 1 - 1
src/Ryujinx.Audio/Constants.cs

@@ -164,7 +164,7 @@ namespace Ryujinx.Audio
         /// <summary>
         /// The default coefficients used for standard 5.1 surround to stereo downmixing.
         /// </summary>
-        public static float[] DefaultSurroundToStereoCoefficients = new float[4]
+        public static readonly float[] DefaultSurroundToStereoCoefficients = new float[4]
         {
             1.0f,
             0.707f,