fix endianess

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@743 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2006-03-03 19:58:24 +00:00
parent d29cd78976
commit e8381199ef
3 changed files with 3 additions and 6 deletions

View File

@@ -637,9 +637,6 @@ SWITCH_DECLARE(switch_status) switch_ivr_speak_text(switch_core_session *session
write_frame.datalen = ilen;
write_frame.samples = (int) ilen / 2;
#ifdef SWAP_LINEAR
switch_swap_linear(write_frame.data, (int) write_frame.datalen);
#endif
for (stream_id = 0; stream_id < switch_core_session_get_stream_count(session); stream_id++) {
if (switch_core_session_write_frame(session, &write_frame, -1, stream_id) != SWITCH_STATUS_SUCCESS) {