diff options
Diffstat (limited to 'apps/codecs/libspeex/smallft.c')
-rw-r--r-- | apps/codecs/libspeex/smallft.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/codecs/libspeex/smallft.c b/apps/codecs/libspeex/smallft.c index 6ff46a8445..6e3a927b5f 100644 --- a/apps/codecs/libspeex/smallft.c +++ b/apps/codecs/libspeex/smallft.c | |||
@@ -96,10 +96,10 @@ static void drfti1(int n, float *wa, int *ifac){ | |||
96 | argld=(float)ld*argh; | 96 | argld=(float)ld*argh; |
97 | fi=0.f; | 97 | fi=0.f; |
98 | for (ii=2;ii<ido;ii+=2){ | 98 | for (ii=2;ii<ido;ii+=2){ |
99 | fi+=1.f; | 99 | fi+=1.f; |
100 | arg=fi*argld; | 100 | arg=fi*argld; |
101 | wa[i++]=cos(arg); | 101 | wa[i++]=cos(arg); |
102 | wa[i++]=sin(arg); | 102 | wa[i++]=sin(arg); |
103 | } | 103 | } |
104 | is+=ido; | 104 | is+=ido; |
105 | } | 105 | } |
@@ -169,7 +169,7 @@ static void dradf2(int ido,int l1,float *cc,float *ch,float *wa1){ | |||
169 | } | 169 | } |
170 | 170 | ||
171 | static void dradf4(int ido,int l1,float *cc,float *ch,float *wa1, | 171 | static void dradf4(int ido,int l1,float *cc,float *ch,float *wa1, |
172 | float *wa2,float *wa3){ | 172 | float *wa2,float *wa3){ |
173 | static float hsqt2 = .70710678118654752f; | 173 | static float hsqt2 = .70710678118654752f; |
174 | int i,k,t0,t1,t2,t3,t4,t5,t6; | 174 | int i,k,t0,t1,t2,t3,t4,t5,t6; |
175 | float ci2,ci3,ci4,cr2,cr3,cr4,ti1,ti2,ti3,ti4,tr1,tr2,tr3,tr4; | 175 | float ci2,ci3,ci4,cr2,cr3,cr4,ti1,ti2,ti3,ti4,tr1,tr2,tr3,tr4; |
@@ -749,7 +749,7 @@ static void dradb3(int ido,int l1,float *cc,float *ch,float *wa1, | |||
749 | } | 749 | } |
750 | 750 | ||
751 | static void dradb4(int ido,int l1,float *cc,float *ch,float *wa1, | 751 | static void dradb4(int ido,int l1,float *cc,float *ch,float *wa1, |
752 | float *wa2,float *wa3){ | 752 | float *wa2,float *wa3){ |
753 | static float sqrt2=1.414213562373095f; | 753 | static float sqrt2=1.414213562373095f; |
754 | int i,k,t0,t1,t2,t3,t4,t5,t6,t7,t8; | 754 | int i,k,t0,t1,t2,t3,t4,t5,t6,t7,t8; |
755 | float ci2,ci3,ci4,cr2,cr3,cr4,ti1,ti2,ti3,ti4,tr1,tr2,tr3,tr4; | 755 | float ci2,ci3,ci4,cr2,cr3,cr4,ti1,ti2,ti3,ti4,tr1,tr2,tr3,tr4; |