[Freeswitch-svn] [commit] r6731 - freeswitch/trunk/src

Freeswitch SVN mikej at freeswitch.org
Wed Dec 12 21:59:59 EST 2007


Author: mikej
Date: Wed Dec 12 21:59:59 2007
New Revision: 6731

Modified:
   freeswitch/trunk/src/switch_core_io.c

Log:
fix build

Modified: freeswitch/trunk/src/switch_core_io.c
==============================================================================
--- freeswitch/trunk/src/switch_core_io.c	(original)
+++ freeswitch/trunk/src/switch_core_io.c	Wed Dec 12 21:59:59 2007
@@ -225,7 +225,8 @@
 				goto done;
 			}
 		}
-		if (session->read_resampler && 0) {
+#if 0
+		if (session->read_resampler) {
 			short *data = read_frame->data;
 
 			session->read_resampler->from_len = switch_short_to_float(data, session->read_resampler->from, (int) read_frame->datalen / 2);
@@ -237,6 +238,7 @@
 			read_frame->datalen = session->read_resampler->to_len * 2;
 			read_frame->rate = session->read_resampler->to_rate;
 		}
+#endif
 
 		if (session->bugs) {
 			switch_media_bug_t *bp, *dp, *last = NULL;



More information about the Freeswitch-svn mailing list