diff options
author | Florian Jung <flo@thinkpad.(none)> | 2010-12-29 16:55:25 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2010-12-29 16:55:25 +0100 |
commit | 7113f02ae87482211aec5046f9ac46c3cc9ad017 (patch) | |
tree | b6484b45317e7e80567d9902cf94843d227ce30e /synth/fixed.h |
Initial commit
Diffstat (limited to 'synth/fixed.h')
-rw-r--r-- | synth/fixed.h | 10 |
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 |