Add reset() function to IIR filter.

m17
Rob Riggs 2021-12-28 17:57:34 -06:00
rodzic 8423214130
commit df289a3a45
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)
{