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

Freeswitch SVN mikej at freeswitch.org
Wed Jan 23 16:27:04 EST 2008


Author: mikej
Date: Wed Jan 23 16:27:04 2008
New Revision: 7336

Modified:
   freeswitch/trunk/src/switch_ivr_async.c

Log:
tweak buffer size

Modified: freeswitch/trunk/src/switch_ivr_async.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_async.c	(original)
+++ freeswitch/trunk/src/switch_ivr_async.c	Wed Jan 23 16:27:04 2008
@@ -503,7 +503,7 @@
 		switch_channel_t *tchannel = switch_core_session_get_channel(tsession);
 		switch_frame_t *read_frame, write_frame = { 0 };
 		switch_codec_t codec = {0};
-		int16_t buf[8192];
+		int16_t buf[SWITCH_RECOMMENDED_BUFFER_SIZE];
 		switch_codec_t *tread_codec = switch_core_session_get_read_codec(tsession);
 		uint32_t tlen = tread_codec->implementation->bytes_per_frame;
 



More information about the Freeswitch-svn mailing list