Author: anthm Date: Mon May 19 17:43:09 2008 New Revision: 8477 Modified: freeswitch/trunk/src/switch_ivr_play_say.c Log: fix bug Modified: freeswitch/trunk/src/switch_ivr_play_say.c ============================================================================== --- freeswitch/trunk/src/switch_ivr_play_say.c (original) +++ freeswitch/trunk/src/switch_ivr_play_say.c Mon May 19 17:43:09 2008 @@ -650,12 +650,12 @@ } if ((write_frame.datalen = (uint32_t) switch_buffer_read_loop(audio_buffer, write_frame.data, - read_frame->codec->implementation->bytes_per_frame)) <= 0) { + read_codec->implementation->bytes_per_frame)) <= 0) { break; } write_frame.samples = write_frame.datalen / 2; - + if (switch_core_session_write_frame(session, &write_frame, SWITCH_IO_FLAG_NONE, 0) != SWITCH_STATUS_SUCCESS) { break; }
participants (1)
-
Freeswitch SVN