mirror of
https://github.com/cookiengineer/audacity
synced 2026-03-16 11:25:26 +01:00
Got rid of most warnings and errors for windows build
This commit is contained in:
@@ -56,11 +56,11 @@ void _c2evenodd(audio *eo, audio *even, audio *odd, int N)
|
||||
|
||||
void cosinit(int size) {
|
||||
COSSIZE = size;
|
||||
COSFACTOR = (double)(COSSIZE-1)/PI;
|
||||
COSFACTOR = (real)(COSSIZE-1)/PI;
|
||||
if(COSTABLE) free(COSTABLE);
|
||||
COSTABLE = (real*)malloc(size*sizeof(real));
|
||||
for(int k=0;k<size;k++)
|
||||
COSTABLE[k] = cos((double)k/(double)(COSSIZE-1)*PI);
|
||||
COSTABLE[k] = cos((real)k/(real)(COSSIZE-1)*PI);
|
||||
}
|
||||
|
||||
void _c2magphase(audio *g, int N)
|
||||
|
||||
Reference in New Issue
Block a user