// This effect Copyright (C) 2004 and later Cockos Incorporated
// License: LGPL - http://www.gnu.org/licenses/lgpl.html
// based on the algorithm in Steve Harris's plug-in package: http://plugin.org.uk/

desc:DC Filter
//tags: filter repair
//author: Cockos

in_pin:left input
in_pin:right input
out_pin:left output
out_pin:right output

@init
itm1=itm2=otm1=otm2=0;
ext_tail_size = -1;

@sample
otm1=0.999*otm1 + spl0 - itm1; itm1=spl0; spl0=otm1;
otm2=0.999*otm2 + spl1 - itm2; itm2=spl1; spl1=otm2;
