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

This commit is contained in:
Marco Carvalho 2023-06-24 09:01:59 -03:00 committed by GitHub
parent 7d160e98fd
commit fffc3ed193
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,