mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
no need for keeping it (nw)
This commit is contained in:
parent
1f2f3cc98d
commit
3ed4b4bc16
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user