forked from len0rd/rockbox
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
This commit is contained in:
parent
4f2dfcc01b
commit
526b5580da
192 changed files with 20 additions and 69133 deletions
|
@ -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");
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue