| 94 | float a0, a1, a2, b0, b1, b2; |
| 95 | |
| 96 | T process(T in) { |
| 97 | T out = b0 * in + b1 * x[0] + b2 * x[1] - a1 * y[0] - a2 * y[1]; |
| 98 | //shift buffers |
| 99 | x[1] = x[0]; |
| 100 | x[0] = in; |
| 101 | y[1] = y[0]; |
| 102 | y[0] = out; |
| 103 | return out; |
| 104 | } |
| 105 | |
| 106 | void setParams(float f, float q, float gaindb, AeEQType type) { |
| 107 |
nothing calls this directly
no outgoing calls
no test coverage detected