[asterisk-commits] russell: branch russell/jack r94847 - in /team/russell/jack: apps/ codecs/ main/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Dec 27 09:32:35 CST 2007


Author: russell
Date: Thu Dec 27 09:32:34 2007
New Revision: 94847

URL: http://svn.digium.com/view/asterisk?view=rev&rev=94847
Log:
fix some build issues

Modified:
    team/russell/jack/apps/app_jack.c
    team/russell/jack/codecs/codec_resample.c
    team/russell/jack/main/frame.c

Modified: team/russell/jack/apps/app_jack.c
URL: http://svn.digium.com/view/asterisk/team/russell/jack/apps/app_jack.c?view=diff&rev=94847&r1=94846&r2=94847
==============================================================================
--- team/russell/jack/apps/app_jack.c (original)
+++ team/russell/jack/apps/app_jack.c Thu Dec 27 09:32:34 2007
@@ -40,11 +40,14 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
+/* These are for SHRT_MAX and FLT_MAX -- { */
 #ifdef __Darwin__
 #include <float.h>
+#else
+#include <values.h>
 #endif
-
 #include <limits.h>
+/* } */
 
 #include <jack/jack.h>
 #include <jack/ringbuffer.h>

Modified: team/russell/jack/codecs/codec_resample.c
URL: http://svn.digium.com/view/asterisk/team/russell/jack/codecs/codec_resample.c?view=diff&rev=94847&r1=94846&r2=94847
==============================================================================
--- team/russell/jack/codecs/codec_resample.c (original)
+++ team/russell/jack/codecs/codec_resample.c Thu Dec 27 09:32:34 2007
@@ -28,11 +28,14 @@
 
 ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
 
+/* These are for SHRT_MAX and FLT_MAX -- { */
 #ifdef __Darwin__
 #include <float.h>
+#else
+#include <values.h>
 #endif
-
 #include <limits.h>
+/* } */
 
 #include "asterisk/module.h"
 #include "asterisk/translate.h"

Modified: team/russell/jack/main/frame.c
URL: http://svn.digium.com/view/asterisk/team/russell/jack/main/frame.c?view=diff&rev=94847&r1=94846&r2=94847
==============================================================================
--- team/russell/jack/main/frame.c (original)
+++ team/russell/jack/main/frame.c Thu Dec 27 09:32:34 2007
@@ -69,7 +69,7 @@
 };
 #endif
 
-#define SMOOTHER_SIZE 8000
+#define SMOOTHER_SIZE 32000
 
 enum frame_type {
 	TYPE_HIGH,     /* 0x0 */




More information about the asterisk-commits mailing list