mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-12 20:27:19 +00:00
Merge branch 'nsg-4.3' of ssh://git.sangoma.com/smg_freeswitch into nsg-4.3
This commit is contained in:
commit
cde7e0408a
@ -336,7 +336,7 @@ top:
|
|||||||
*frame = &tech_pvt->read_frame;
|
*frame = &tech_pvt->read_frame;
|
||||||
tech_pvt->read_frame.datalen = (uint32_t)len;
|
tech_pvt->read_frame.datalen = (uint32_t)len;
|
||||||
tech_pvt->read_frame.samples = tech_pvt->read_frame.datalen;
|
tech_pvt->read_frame.samples = tech_pvt->read_frame.datalen;
|
||||||
tech_pvt->read_frame = &tech_pvt->read_codec;
|
tech_pvt->read_frame.codec = &tech_pvt->read_codec;
|
||||||
|
|
||||||
if (ftdm_channel_get_codec(tech_pvt->ftdm_channel) == FTDM_CODEC_SLIN) {
|
if (ftdm_channel_get_codec(tech_pvt->ftdm_channel) == FTDM_CODEC_SLIN) {
|
||||||
tech_pvt->read_frame.samples /= 2;
|
tech_pvt->read_frame.samples /= 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user