Cache IIR filter state because compiler *sometimes* doesn't want to.

This commit is contained in:
Jared Boone
2016-01-11 15:44:42 -08:00
parent e169a46367
commit 5e917ebb2c
2 changed files with 19 additions and 16 deletions

View File

@@ -65,8 +65,6 @@ private:
iir_biquad_config_t config;
std::array<float, 3> x { { 0.0f, 0.0f, 0.0f } };
std::array<float, 3> y { { 0.0f, 0.0f, 0.0f } };
float execute_sample(const float in);
};
#endif/*__DSP_IIR_H__*/