no need for keeping it (nw)

This commit is contained in:
Miodrag Milanovic 2016-04-23 19:33:29 +02:00
parent 1f2f3cc98d
commit 3ed4b4bc16

View File

@ -61,19 +61,6 @@ struct filter_state
filter_real xprev[FILTER_ORDER_MAX];
};
#if 0
/* Insert a value in the filter state */
static inline void filter_insert(filter* f, filter_state* s, filter_real x) {
/* next state */
++s->prev_mac;
if (s->prev_mac >= f->order)
s->prev_mac = 0;
/* set x[0] */
s->xprev[s->prev_mac] = x;
}
#endif
/* Filter types */
#define FILTER_LOWPASS 0
#define FILTER_HIGHPASS 1