git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7603
d0543943-73ff-0310-b7d9-
9358b9ac24b2
len = rframe->samples;
if (dh->mux) {
- int16_t buf[1024];
+ int16_t buf[SWITCH_RECOMMENDED_BUFFER_SIZE / 2];
int16_t *fp = rframe->data;
uint32_t x;
len = rframe->samples;
if (dh->mux) {
- int16_t buf[1024];
+ int16_t buf[SWITCH_RECOMMENDED_BUFFER_SIZE / 2];
int16_t *fp = rframe->data;
uint32_t x;
switch_frame_t *read_frame = NULL;
switch_codec_t *read_codec = NULL, write_codec = { 0 };
switch_frame_t write_frame = { 0 };
- switch_byte_t data[1024];
+ switch_byte_t data[SWITCH_RECOMMENDED_BUFFER_SIZE];
switch_channel_t *channel = switch_core_session_get_channel(session);
switch_channel_pre_answer(channel);