summaryrefslogtreecommitdiff
path: root/synth/fixed.h
diff options
context:
space:
mode:
Diffstat (limited to 'synth/fixed.h')
-rw-r--r--synth/fixed.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/synth/fixed.h b/synth/fixed.h
new file mode 100644
index 0000000..41c1b78
--- /dev/null
+++ b/synth/fixed.h
@@ -0,0 +1,10 @@
+#ifndef __FIXED_H__
+#define __FIXED_H__
+
+
+#define SCALE 20
+#define ONE ((fixed_t)(1<<SCALE))
+
+typedef long long int fixed_t;
+
+#endif