X-Git-Url: http://sraa.de/git/?a=blobdiff_plain;f=dol%2Fexamples%2Fexample6%2Fsrc%2Ffilter.h;fp=dol%2Fexamples%2Fexample6%2Fsrc%2Ffilter.h;h=a0681135e04a68a38ed4ace49ae6f179493021de;hb=8c411cf24ed0eb889191aaeafd8fa1e69081df42;hp=0000000000000000000000000000000000000000;hpb=dea7a4fb1ed110d3ce6e6d9255103d724bd66c0e;p=jump.git diff --git a/dol/examples/example6/src/filter.h b/dol/examples/example6/src/filter.h new file mode 100644 index 0000000..a068113 --- /dev/null +++ b/dol/examples/example6/src/filter.h @@ -0,0 +1,20 @@ +#ifndef FILTER_H +#define FILTER_H + +#include + +#define PORT_INA "inA" +#define PORT_INB "inB" +#define PORT_OUTA "outA" +#define PORT_OUTB "outB" + +typedef struct _local_states +{ + int firstiteration; + float inA, inB, out, zero, factor; +} Filter_State; + +void filter_init(DOLProcess *); +int filter_fire(DOLProcess *); + +#endif