[Freeswitch-svn] [commit] r11189 - freeswitch/trunk/libs/libg722_1/src

FreeSWITCH SVN mikej at freeswitch.org
Wed Jan 14 07:13:59 PST 2009


Author: mikej
Date: Wed Jan 14 09:13:59 2009
New Revision: 11189

Log:
we need the f's

Modified:
   freeswitch/trunk/libs/libg722_1/src/dct4.h
   freeswitch/trunk/libs/libg722_1/src/make_dct4_tables.c

Modified: freeswitch/trunk/libs/libg722_1/src/dct4.h
==============================================================================
--- freeswitch/trunk/libs/libg722_1/src/dct4.h	(original)
+++ freeswitch/trunk/libs/libg722_1/src/dct4.h	Wed Jan 14 09:13:59 2009
@@ -212,7 +212,7 @@
     {9.723699203976766e-01f, -2.334453638559054e-01f},
     {9.238795325112867e-01f, -3.826834323650898e-01f},
     {8.526401643540922e-01f, -5.224985647159488e-01f},
-    {7.604059656000309e-01, -6.494480483301837e-01}
+    {7.604059656000309e-01f, -6.494480483301837e-01f}
 };
 
 static const cos_msin_t cos_msin_10[10] =
@@ -226,7 +226,7 @@
     {8.724960070727972e-01f, -4.886212414969549e-01f},
     {8.314696123025452e-01f, -5.555702330196022e-01f},
     {7.853169308807449e-01f, -6.190939493098340e-01f},
-    {7.343225094356856e-01, -6.788007455329417e-01}
+    {7.343225094356856e-01f, -6.788007455329417e-01f}
 };
 
 static const cos_msin_t cos_msin_20[20] =
@@ -250,7 +250,7 @@
     {7.973206537727071e-01f, -6.035559419535714e-01f},
     {7.730104533627370e-01f, -6.343932841636455e-01f},
     {7.475083268625968e-01f, -6.642524379112817e-01f},
-    {7.208535967029188e-01, -6.930873625456359e-01}
+    {7.208535967029188e-01f, -6.930873625456359e-01f}
 };
 
 static const cos_msin_t cos_msin_40[40] =
@@ -294,7 +294,7 @@
     {7.539934819618694e-01f, -6.568818989430414e-01f},
     {7.409511253549591e-01f, -6.715589548470183e-01f},
     {7.276231179845748e-01f, -6.859771119901928e-01f},
-    {7.140145980512683e-01, -7.001308118985236e-01}
+    {7.140145980512683e-01f, -7.001308118985236e-01f}
 };
 
 static const cos_msin_t cos_msin_80[80] =
@@ -378,7 +378,7 @@
     {7.309816204544317e-01f, -6.823971501682968e-01f},
     {7.242470829514670e-01f, -6.895405447370668e-01f},
     {7.174427410072399e-01f, -6.966174799529642e-01f},
-    {7.105692504383896e-01, -7.036272737262429e-01}
+    {7.105692504383896e-01f, -7.036272737262429e-01f}
 };
 
 static const cos_msin_t cos_msin_160[160] =
@@ -542,7 +542,7 @@
     {7.191503349090794e-01f, -6.948545141251936e-01f},
     {7.157308252838186e-01f, -6.983762494089729e-01f},
     {7.122940696480137e-01f, -7.018811568522627e-01f},
-    {7.088401508125785e-01, -7.053691520019861e-01}
+    {7.088401508125785e-01f, -7.053691520019861e-01f}
 };
 
 static const cos_msin_t cos_msin_320[320] =
@@ -866,7 +866,7 @@
     {7.131548708488146e-01f, -7.010065122269625e-01f},
     {7.114321957452164e-01f, -7.027547444572253e-01f},
     {7.097052350271130e-01f, -7.044987433453024e-01f},
-    {7.079739990975870e-01, -7.062384983854745e-01}
+    {7.079739990975870e-01f, -7.062384983854745e-01f}
 };
 
 static const cos_msin_t cos_msin_640[640] =
@@ -1510,6 +1510,6 @@
     {7.101373764145209e-01f, -7.040631410740809e-01f},
     {7.092728264388657e-01f, -7.049340803759049e-01f},
     {7.084072083111520e-01f, -7.058039580597435e-01f},
-    {7.075405233349850e-01, -7.066727728155766e-01}
+    {7.075405233349850e-01f, -7.066727728155766e-01f}
 };
 

Modified: freeswitch/trunk/libs/libg722_1/src/make_dct4_tables.c
==============================================================================
--- freeswitch/trunk/libs/libg722_1/src/make_dct4_tables.c	(original)
+++ freeswitch/trunk/libs/libg722_1/src/make_dct4_tables.c	Wed Jan 14 09:13:59 2009
@@ -47,7 +47,7 @@
         printf("    {%.15ef, %.15ef},\n", cos(angle), -sin(angle));
     }
     angle = scale*((double) index + 0.5);
-    printf("    {%.15e, %.15e}\n", cos(angle), -sin(angle));
+    printf("    {%.15ef, %.15ef}\n", cos(angle), -sin(angle));
     printf("};\n\n");
 }
 /*- End of function --------------------------------------------------------*/



More information about the Freeswitch-svn mailing list