mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 11:58:52 +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:
@@ -372,7 +372,7 @@ e */
|
||||
exc[px] -= pulse;
|
||||
/* Load voiced excitation */
|
||||
} else {
|
||||
sscale = sqrt((real) (*ip)) / 6.928f;
|
||||
sscale = (real)sqrt((real) (*ip)) / 6.928f;
|
||||
i__1 = *ip;
|
||||
for (i__ = 1; i__ <= i__1; ++i__) {
|
||||
exc[contrl_1.order + i__ - 1] = 0.f;
|
||||
@@ -438,7 +438,7 @@ e */
|
||||
/* Apply gain to match RMS */
|
||||
r__1 = *rms * *rms;
|
||||
ssq = r__1 * *ip;
|
||||
gain = sqrt(ssq / xssq);
|
||||
gain = (real)sqrt(ssq / xssq);
|
||||
i__1 = *ip;
|
||||
for (i__ = 1; i__ <= i__1; ++i__) {
|
||||
sout[i__] = gain * exc2[contrl_1.order + i__ - 1];
|
||||
|
Reference in New Issue
Block a user