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