1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-02-22 06:01:25 +01:00

Got rid of most warnings and errors for windows build

This commit is contained in:
clayton.otey@gmail.com
2010-06-08 01:05:10 +00:00
parent 299c327a71
commit 60faec3b24
10 changed files with 93 additions and 248 deletions

View File

@@ -74,8 +74,8 @@ t_fft **calcTwiddles(int n, int *N1, int *N2, int *order, int sign)
int Np = N1[i]*N2[i];
t[i] = (t_fft*)calloc(Np,sizeof(t_fft));
for(int k=0;k<Np;k++) {
t[i][k][0] = cos((real)(-sign)*2.0*M_PI*(real)k/(real)Np);
t[i][k][1] = sin((real)(-sign)*2.0*M_PI*(real)k/(real)Np);
t[i][k][0] = cos((real)(-sign)*TWOPI*(real)k/(real)Np);
t[i][k][1] = sin((real)(-sign)*TWOPI*(real)k/(real)Np);
}
}
return t;