dol: initial dol commit
[jump.git] / dol / examples / example7 / src / producer.h
diff --git a/dol/examples/example7/src/producer.h b/dol/examples/example7/src/producer.h
new file mode 100644 (file)
index 0000000..2cffa95
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef PRODUCER_H
+#define PRODUCER_H
+
+#include <dol.h>
+#include "global.h"
+#include "stdlib.h"
+
+#define PORT_OUT "out"
+
+typedef struct _local_states
+{
+  int index;
+  float sample[NUMBER_OF_SAMPLES];
+} Producer_State;
+
+void producer_init(DOLProcess *);
+int producer_fire(DOLProcess *);
+
+#endif