summaryrefslogtreecommitdiff
path: root/apps/codecs/adx.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/adx.c')
-rw-r--r--apps/codecs/adx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/codecs/adx.c b/apps/codecs/adx.c
index a1b57fce58..e75e7dca1e 100644
--- a/apps/codecs/adx.c
+++ b/apps/codecs/adx.c
@@ -129,7 +129,7 @@ enum codec_status codec_run(void)
129 129
130 fp_sincos((unsigned long)phasemultiple,&z); 130 fp_sincos((unsigned long)phasemultiple,&z);
131 131
132 a = (M_SQRT2*big28)-(z*big28/LONG_MAX); 132 a = (M_SQRT2*big28) - (z >> 3);
133 133
134 /** 134 /**
135 * In the long passed to fsqrt there are only 4 nonfractional bits, 135 * In the long passed to fsqrt there are only 4 nonfractional bits,