dol: initial dol commit
[jump.git] / dol / examples / example6 / src / filter.h
1 #ifndef FILTER_H
2 #define FILTER_H
3
4 #include <dol.h>
5
6 #define PORT_INA  "inA"
7 #define PORT_INB  "inB"
8 #define PORT_OUTA "outA"
9 #define PORT_OUTB "outB"
10
11 typedef struct _local_states
12 {
13   int firstiteration;
14   float inA, inB, out, zero, factor;
15 } Filter_State;
16
17 void filter_init(DOLProcess *);
18 int filter_fire(DOLProcess *);
19
20 #endif