gsmopen: windows now works

This commit is contained in:
Giovanni Maruzzelli committed 2012-04-02 19:01:45 +02:00
1 parent d9338ee28c
commit eaa37c3e41
5 files changed
+12 -12

No files matched your search

@@ -919,7 +919,7 @@ static switch_status_t channel_read_frame(switch_core_session_t *session, switch
*frame = &tech_pvt->read_frame;
#ifdef BIGENDIAN
if (switch_test_flag(tech_pvt, TFLAG_LINEAR)) {
switch_swap_linear((*frame)->data, (int) (*frame)->datalen / 2);
switch_swap_linear((int16_t *)(*frame)->data, (int) (*frame)->datalen / 2);
}
#endif
//WARNINGA("HERE\n", GSMOPEN_P_LOG);