diff options
| author | Peter D'Hoye <peter.dhoye@gmail.com> | 2009-05-24 21:28:16 +0000 |
|---|---|---|
| committer | Peter D'Hoye <peter.dhoye@gmail.com> | 2009-05-24 21:28:16 +0000 |
| commit | 526b5580dabbfed7cfe5439dc3a90ec727f563c2 (patch) | |
| tree | 22b1af92348785daad16714ee5e2b633017e0e48 /apps/plugins/pdbox/PDa/src/makecostab.c | |
| parent | 4f2dfcc01b260d946044ef2b6af5fe36cb772c8d (diff) | |
| download | rockbox-526b5580dabbfed7cfe5439dc3a90ec727f563c2.zip rockbox-526b5580dabbfed7cfe5439dc3a90ec727f563c2.tar.gz rockbox-526b5580dabbfed7cfe5439dc3a90ec727f563c2.tar.bz2 rockbox-526b5580dabbfed7cfe5439dc3a90ec727f563c2.tar.xz | |
Cut the files in half and it might work better (note to self: check your tree is really clean before patching)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21070 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pdbox/PDa/src/makecostab.c')
| -rw-r--r-- | apps/plugins/pdbox/PDa/src/makecostab.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/apps/plugins/pdbox/PDa/src/makecostab.c b/apps/plugins/pdbox/PDa/src/makecostab.c index 9227ace..6b436b6 100644 --- a/apps/plugins/pdbox/PDa/src/makecostab.c +++ b/apps/plugins/pdbox/PDa/src/makecostab.c @@ -22,29 +22,3 @@ int main(int argc,char** argv) } - -#include "m_fixed.h" -#include <math.h> - -#define ILOGCOSTABSIZE 15 -#define ICOSTABSIZE (1<<ILOGCOSTABSIZE) - -int main(int argc,char** argv) -{ - int i; - int *fp; - double phase, phsinc = (2. * M_PI) / ICOSTABSIZE; - - printf("#define ILOGCOSTABSIZE 15\n"); - printf("#define ICOSTABSIZE (1<<ILOGCOSTABSIZE)\n"); - printf("static t_sample cos_table[] = {"); - for (i = ICOSTABSIZE + 1,phase = 0; i--; phase += phsinc) { - printf("%d,",ftofix(cos(phase))); - // post("costab %f %f",cos(phase),fixtof(*fp)); - - } - printf("0};\n"); - -} - - |