diff options
Diffstat (limited to 'src/Ryujinx.Audio/Renderer/Dsp/State/DelayState.cs')
-rw-r--r-- | src/Ryujinx.Audio/Renderer/Dsp/State/DelayState.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Ryujinx.Audio/Renderer/Dsp/State/DelayState.cs b/src/Ryujinx.Audio/Renderer/Dsp/State/DelayState.cs index c56fa078..17ad2a40 100644 --- a/src/Ryujinx.Audio/Renderer/Dsp/State/DelayState.cs +++ b/src/Ryujinx.Audio/Renderer/Dsp/State/DelayState.cs @@ -4,7 +4,7 @@ using System.Runtime.CompilerServices; namespace Ryujinx.Audio.Renderer.Dsp.State { - public class DelayState + public struct DelayState { public DelayLine[] DelayLines { get; } public float[] LowPassZ { get; set; } @@ -53,7 +53,7 @@ namespace Ryujinx.Audio.Renderer.Dsp.State LowPassBaseGain = 1.0f - LowPassFeedbackGain; } - public void UpdateLowPassFilter(ref float tempRawRef, uint channelCount) + public readonly void UpdateLowPassFilter(ref float tempRawRef, uint channelCount) { for (int i = 0; i < channelCount; i++) { |