diff --git a/BizHawk.Emulation/Sound/Utilities/DCFilter.cs b/BizHawk.Emulation/Sound/Utilities/DCFilter.cs
index 079bfe96e6..0c29b44af4 100644
--- a/BizHawk.Emulation/Sound/Utilities/DCFilter.cs
+++ b/BizHawk.Emulation/Sound/Utilities/DCFilter.cs
@@ -32,6 +32,8 @@ namespace BizHawk.Emulation.Sound.Utilities
///
public DCFilter(ISoundProvider input = null, int filterwidth = 65536)
{
+ if (filterwidth < 1 || filterwidth > 65536)
+ throw new ArgumentOutOfRangeException();
this.input = input;
this.depth = filterwidth;
this.buffer = new Queue(depth * 2);