mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-08-13 01:26:58 +00:00
msvc ports for ilbc and lpc10 codec libs.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@169 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -465,9 +465,9 @@ after */
|
||||
i__1 = lsamp;
|
||||
for (i__ = istart; i__ <= i__1; ++i__) {
|
||||
r__1 = *ipito + slope * i__;
|
||||
ip = r__1 + .5f;
|
||||
ip = (integer)(r__1 + .5f);
|
||||
if (uvpit != 0.f) {
|
||||
ip = uvpit;
|
||||
ip = (integer)uvpit;
|
||||
}
|
||||
if (ip <= i__ - jused) {
|
||||
++(*nout);
|
||||
@@ -487,14 +487,14 @@ over 16. */
|
||||
prop = (jused - ip / 2) / (real) lsamp;
|
||||
i__2 = *order;
|
||||
for (j = 1; j <= i__2; ++j) {
|
||||
alro = log((rco[j - 1] + 1) / (1 - rco[j - 1]));
|
||||
alrn = log((rc[j] + 1) / (1 - rc[j]));
|
||||
alro = (real)log((rco[j - 1] + 1) / (1 - rco[j - 1]));
|
||||
alrn = (real)log((rc[j] + 1) / (1 - rc[j]));
|
||||
xxy = alro + prop * (alrn - alro);
|
||||
xxy = exp(xxy);
|
||||
xxy = (real)exp(xxy);
|
||||
rci[j + *nout * rci_dim1] = (xxy - 1) / (xxy + 1);
|
||||
}
|
||||
rmsi[*nout] = log(*rmso) + prop * (log(*rms) - log(*rmso));
|
||||
rmsi[*nout] = exp(rmsi[*nout]);
|
||||
rmsi[*nout] = (real)(log(*rmso) + prop * (log(*rms) - log(*rmso)));
|
||||
rmsi[*nout] = (real)exp(rmsi[*nout]);
|
||||
}
|
||||
}
|
||||
if (vflag != 1) {
|
||||
|
Reference in New Issue
Block a user