mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-24 04:04:16 +00:00
update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@149 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
905d424939
commit
c01ecc8f20
12 files changed
+91
-63
No files matched your search
@@ -127,6 +127,9 @@ void playback_function(switch_core_session *session, char *data)
|
||||
}
|
||||
|
||||
write_frame.datalen = ilen;
|
||||
#ifdef BIGENDIAN
|
||||
switch_swap_linear(write_frame.data, (int)write_frame.datalen / 2);
|
||||
#endif
|
||||
if (switch_core_session_write_frame(session, &write_frame, -1) != SWITCH_STATUS_SUCCESS) {
|
||||
switch_console_printf(SWITCH_CHANNEL_CONSOLE, "Bad Write\n");
|
||||
break;
|
||||
|
||||
Reference in new issue
Block a user