Add reset() function to IIR filter.

master
Rob Riggs 2021-12-28 17:57:34 -06:00
rodzic a8296cbdca
commit 59783338c8
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -28,6 +28,8 @@ struct IirFilter {
static constexpr size_t size() { return N; }
void reset() { history_.fill(0.0f); }
float operator()(float input)
{