misc: chore: Use collection expressions in Audio project

This commit is contained in:
Evan Husted 2025-01-26 15:41:47 -06:00
parent 3e12865f51
commit 3c2f283ec7
11 changed files with 109 additions and 91 deletions

View file

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