1
0
Fork 0
forked from len0rd/rockbox

Correct comment.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28080 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Andree Buschmann 2010-09-14 19:17:21 +00:00
parent b543a2a5d2
commit e98ee2d696

View file

@ -206,7 +206,7 @@ static void auto_correlation(sbr_info *sbr, acorr_coef *ac,
/* A pre-shift of >>2 is needed to avoid overflow when multiply-adding
* the FRACT-variables buffer -- FRACT part is 31 bits. After the
* calculation has been finished the result 'ac.det' needs to be
* post-shifted by <<(2*exp). */
* post-shifted by <<(4*exp). */
for (j = offset; j < len + offset; j++)
{
@ -269,7 +269,7 @@ static void auto_correlation(sbr_info *sbr, acorr_coef *ac, qmf_t buffer[MAX_NTS
/* A pre-shift of >>2 is needed to avoid overflow when multiply-adding
* the FRACT-variables buffer -- FRACT part is 31 bits. After the
* calculation has been finished the result 'ac.det' needs to be
* post-shifted by <<(2*exp). */
* post-shifted by <<(4*exp). */
temp2_r = (QMF_RE(buffer[offset-2][bd])) >> exp;
temp2_i = (QMF_IM(buffer[offset-2][bd])) >> exp;