From: Michael Jerris Date: Wed, 23 Jan 2008 21:27:04 +0000 (+0000) Subject: tweak buffer size X-Git-Tag: v1.0-rc1~580 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac79829b724da7f9d55599647c9499e53df864ad;p=thirdparty%2Ffreeswitch.git tweak buffer size git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7336 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_async.c b/src/switch_ivr_async.c index 8456294d28..929daf8ec5 100644 --- a/src/switch_ivr_async.c +++ b/src/switch_ivr_async.c @@ -503,7 +503,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_eavesdrop_session(switch_core_session 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;