mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-29 06:34:19 +00:00
gsmopen: windows now works
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user