Ticket #628: Updated IPP codec module to use fixed point version of G.729 on architectures that don't have FPU (thanks David Parker for the patch).

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2279 74dad513-b988-da41-8d7b-12977e46ad98
diff --git a/pjmedia/src/pjmedia-codec/ipp_codecs.c b/pjmedia/src/pjmedia-codec/ipp_codecs.c
index 302811b..8371180 100644
--- a/pjmedia/src/pjmedia-codec/ipp_codecs.c
+++ b/pjmedia/src/pjmedia-codec/ipp_codecs.c
@@ -132,6 +132,7 @@
 
 /* USC codec implementations. */
 extern USC_Fxns USC_G729AFP_Fxns;
+extern USC_Fxns USC_G729I_Fxns;
 extern USC_Fxns USC_G723_Fxns;
 extern USC_Fxns USC_G726_Fxns;
 extern USC_Fxns USC_G728_Fxns;
@@ -140,6 +141,7 @@
 extern USC_Fxns USC_AMRWB_Fxns;
 extern USC_Fxns USC_AMRWBE_Fxns;
 
+
 /* CUSTOM CALLBACKS */
 
 /* This callback is useful for translating RTP frame into USC frame, e.g:
@@ -235,10 +237,17 @@
 #   endif
 
 #   if PJMEDIA_HAS_INTEL_IPP_CODEC_G729
-    {1, "G729",	    PJMEDIA_RTP_PT_G729,      &USC_G729AFP_Fxns, 8000, 1,  80,  
+#	if defined(PJ_HAS_FLOATING_POINT) && (PJ_HAS_FLOATING_POINT != 0)
+    {1, "G729",	    PJMEDIA_RTP_PT_G729,      &USC_G729AFP_Fxns, 8000, 1,  80,
 		    8000, 11800, 2, 1, 1, 
 		    &predecode_g729, NULL, NULL
     },
+#	else
+    {1, "G729",	    PJMEDIA_RTP_PT_G729,      &USC_G729I_Fxns,	 8000, 1,  80,
+		    8000, 11800, 2, 1, 1, 
+		    &predecode_g729, NULL, NULL
+    },
+#	endif
 #   endif
 
 #   if PJMEDIA_HAS_INTEL_IPP_CODEC_G723_1