dol: initial dol commit
[jump.git] / dol / examples / example7 / src / producer.h
1 #ifndef PRODUCER_H
2 #define PRODUCER_H
3
4 #include <dol.h>
5 #include "global.h"
6 #include "stdlib.h"
7
8 #define PORT_OUT "out"
9
10 typedef struct _local_states
11 {
12   int index;
13   float sample[NUMBER_OF_SAMPLES];
14 } Producer_State;
15
16 void producer_init(DOLProcess *);
17 int producer_fire(DOLProcess *);
18
19 #endif