Hello,

I have 2 problems:

1, libvoipcodecs
C2143: syntax error : missing ')' before '
I don't know what the problem with brackets, but with the attached modification it complies.
Do you have any idea, why? :)

2. freeswitchcorelib
acl functions can't find inet_pton symbol.

Thanks,
Tamas

Index: lpc10_decode.c
===================================================================
--- lpc10_decode.c      (revision 8061)
+++ lpc10_decode.c      (working copy)
@@ -249,6 +249,7 @@
     float slope;
     float uvpit;
     float xxy;
+   float tmp;
 
     rci_dim1 = LPC10_ORDER;
     rci_offset = rci_dim1 + 1;
@@ -444,7 +445,9 @@
                         xxy = expf(xxy);
                         rci[j + *nout*rci_dim1 + 1] = (xxy - 1.0f)/(xxy + 
1.0f);
                     }
-                    rmsi[*nout - 1] = logf(s->rmso) + prop*(logf(*rms) - 
logf(s->rmso));
+                   //rmsi[*nout - 1] = logf(s->rmso) + prop 
*(logf((float)*rms) - logf(s->rmso));
+                   tmp = logf(*rms) - logf(s->rmso);
+                    rmsi[*nout - 1] = logf(s->rmso) + prop * tmp ;
                     rmsi[*nout - 1] = expf(rmsi[*nout - 1]);
                 }
             }
_______________________________________________
Freeswitch-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to