Definition: m_lowpass_integer.cpp:22
void m_lowpass_integer_destroy(struct m_lowpass_integer **ptr_to_mli)
Destroy a lowpass integer filter.
Definition: m_lowpass_integer.cpp:86
int64_t m_lowpass_integer_get_state(const struct m_lowpass_integer *mli)
Get the filtered value.
Definition: m_lowpass_integer.cpp:66
struct m_lowpass_integer * m_lowpass_integer_create(int64_t alpha_numerator, int64_t alpha_denominator)
Constructor.
Definition: m_lowpass_integer.cpp:41
bool m_lowpass_integer_is_initialized(const struct m_lowpass_integer *mli)
Get whether we have initialized state.
Definition: m_lowpass_integer.cpp:76
void m_lowpass_integer_add_sample(struct m_lowpass_integer *mli, int64_t sample)
Filter a sample.
Definition: m_lowpass_integer.cpp:57