git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4664 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale 2007-03-19 19:44:22 +00:00
parent e5407ed1ef
commit 7e2977b2b6

View File

@ -2417,7 +2417,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_frame(switch_core_sess
} }
break; break;
case SWITCH_STATUS_SUCCESS: case SWITCH_STATUS_SUCCESS:
session->raw_write_frame.samples = frame->datalen / sizeof(int16_t); session->raw_write_frame.samples = session->raw_write_frame.datalen / sizeof(int16_t);
session->raw_write_frame.timestamp = frame->timestamp; session->raw_write_frame.timestamp = frame->timestamp;
session->raw_write_frame.rate = frame->rate; session->raw_write_frame.rate = frame->rate;
write_frame = &session->raw_write_frame; write_frame = &session->raw_write_frame;