mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 12:52:33 +00:00
Lots of little fixes for doing MSVC compiling codecs in windows (#6022)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -518,7 +518,7 @@ static integer c__2 = 2;
|
||||
drc[(5 - i__) * 3 - 2] = iout;
|
||||
}
|
||||
/* Determine error rate */
|
||||
*erate = *erate * .96875f + errcnt * 102;
|
||||
*erate = (integer)(*erate * .96875f + errcnt * 102);
|
||||
}
|
||||
/* Get unsmoothed RMS, RC's, and PITCH */
|
||||
*irms = drms[1];
|
||||
@@ -611,7 +611,7 @@ L900:
|
||||
ishift = 15 - nbit[i__ - 1];
|
||||
i2 *= pow_ii(&c__2, &ishift);
|
||||
i2 += qb[i__ - 3];
|
||||
irc[i__] = i2 * descl[i__ - 3] + deadd[i__ - 3];
|
||||
irc[i__] = (integer)(i2 * descl[i__ - 3] + deadd[i__ - 3]);
|
||||
}
|
||||
/* IF (LISTL.GE.3) WRITE(FDEBUG,811) IRMS, (IRC(I),I=1,ORDER) */
|
||||
/* 811 FORMAT(1X,'<<DECODE OUT>>',T45,I4,1X,10I8) */
|
||||
|
Reference in New Issue
Block a user