diff --git a/Ryujinx.Audio/Renderer/Dsp/Effect/DelayLine.cs b/Ryujinx.Audio/Renderer/Dsp/Effect/DelayLine.cs index d178e699..1774f542 100644 --- a/Ryujinx.Audio/Renderer/Dsp/Effect/DelayLine.cs +++ b/Ryujinx.Audio/Renderer/Dsp/Effect/DelayLine.cs @@ -33,7 +33,7 @@ namespace Ryujinx.Audio.Renderer.Dsp.Effect { _sampleRate = sampleRate; SampleCountMax = IDelayLine.GetSampleCount(_sampleRate, delayTimeMax); - _workBuffer = new float[SampleCountMax]; + _workBuffer = new float[SampleCountMax + 1]; SetDelay(delayTimeMax); }