summaryrefslogtreecommitdiff
path: root/apps/codecs/libwma/wmafixed.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libwma/wmafixed.c')
-rw-r--r--apps/codecs/libwma/wmafixed.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/codecs/libwma/wmafixed.c b/apps/codecs/libwma/wmafixed.c
index 7c38009754..3a902dd9ef 100644
--- a/apps/codecs/libwma/wmafixed.c
+++ b/apps/codecs/libwma/wmafixed.c
@@ -68,7 +68,7 @@ fixed32 fixmul32(fixed32 x, fixed32 y)
68 return (fixed32)temp; 68 return (fixed32)temp;
69} 69}
70 70
71 71#endif
72/* 72/*
73 Special fixmul32 that does a 16.16 x 1.31 multiply that returns a 16.16 value. 73 Special fixmul32 that does a 16.16 x 1.31 multiply that returns a 16.16 value.
74 this is needed because the fft constants are all normalized to be less then 1 74 this is needed because the fft constants are all normalized to be less then 1
@@ -76,7 +76,7 @@ fixed32 fixmul32(fixed32 x, fixed32 y)
76 76
77 77
78*/ 78*/
79 79#ifndef CPU_ARM
80fixed32 fixmul32b(fixed32 x, fixed32 y) 80fixed32 fixmul32b(fixed32 x, fixed32 y)
81{ 81{
82 fixed64 temp; 82 fixed64 temp;
@@ -88,10 +88,10 @@ fixed32 fixmul32b(fixed32 x, fixed32 y)
88 88
89 return (fixed32)temp; 89 return (fixed32)temp;
90} 90}
91
92#endif 91#endif
93 92
94 93
94
95/* 95/*
96 Not performance senstitive code here 96 Not performance senstitive code here
97 97
@@ -275,6 +275,7 @@ long fsincos(unsigned long phase, fixed32 *cos)
275 275
276*/ 276*/
277 277
278#if 0
278fixed32 fixsin32(fixed32 x) 279fixed32 fixsin32(fixed32 x)
279{ 280{
280 281
@@ -325,3 +326,4 @@ fixed32 fixcos32(fixed32 x)
325{ 326{
326 return fixsin32(x - (M_PI_F>>1))*-1; 327 return fixsin32(x - (M_PI_F>>1))*-1;
327} 328}
329#endif