aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Audio/Backends/CompatLayer/Downmixing.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Ryujinx.Audio/Backends/CompatLayer/Downmixing.cs')
-rw-r--r--src/Ryujinx.Audio/Backends/CompatLayer/Downmixing.cs14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Ryujinx.Audio/Backends/CompatLayer/Downmixing.cs b/src/Ryujinx.Audio/Backends/CompatLayer/Downmixing.cs
index 6959c158..ffd427a5 100644
--- a/src/Ryujinx.Audio/Backends/CompatLayer/Downmixing.cs
+++ b/src/Ryujinx.Audio/Backends/CompatLayer/Downmixing.cs
@@ -31,18 +31,18 @@ namespace Ryujinx.Audio.Backends.CompatLayer
private const int Minus6dBInQ15 = (int)(0.501f * RawQ15One);
private const int Minus12dBInQ15 = (int)(0.251f * RawQ15One);
- private static readonly int[] DefaultSurroundToStereoCoefficients = new int[4]
+ private static readonly int[] _defaultSurroundToStereoCoefficients = new int[4]
{
RawQ15One,
Minus3dBInQ15,
Minus12dBInQ15,
- Minus3dBInQ15
+ Minus3dBInQ15,
};
- private static readonly int[] DefaultStereoToMonoCoefficients = new int[2]
+ private static readonly int[] _defaultStereoToMonoCoefficients = new int[2]
{
Minus6dBInQ15,
- Minus6dBInQ15
+ Minus6dBInQ15,
};
private const int SurroundChannelCount = 6;
@@ -114,12 +114,12 @@ namespace Ryujinx.Audio.Backends.CompatLayer
public static short[] DownMixStereoToMono(ReadOnlySpan<short> data)
{
- return DownMixStereoToMono(DefaultStereoToMonoCoefficients, data);
+ return DownMixStereoToMono(_defaultStereoToMonoCoefficients, data);
}
public static short[] DownMixSurroundToStereo(ReadOnlySpan<short> data)
{
- return DownMixSurroundToStereo(DefaultSurroundToStereoCoefficients, data);
+ return DownMixSurroundToStereo(_defaultSurroundToStereoCoefficients, data);
}
}
-} \ No newline at end of file
+}