diff --git a/SharpPipe/Helpers/ParameterHelper.cs b/SharpPipe/Helpers/ParameterHelper.cs index d2d80bf..dffe0c3 100644 --- a/SharpPipe/Helpers/ParameterHelper.cs +++ b/SharpPipe/Helpers/ParameterHelper.cs @@ -10,7 +10,8 @@ public static class ParameterHelper /// /// This Zita filter /// The Zita filter to copy parameters from - public static IZitaFilter FromOther(this IZitaFilter zita, in IZitaFilter other) + public static T FromOther(this T zita, in IZitaFilter other) + where T : IZitaFilter { zita.InDelay = other.InDelay; zita.Crossover = other.Crossover;