[Asterisk-code-review] res rtp asterisk: Swap byte-order when sending signed linear (asterisk[master])

Sean Bright asteriskteam at digium.com
Tue Jan 31 13:13:34 CST 2017


Sean Bright has uploaded a new patch set (#2). ( https://gerrit.asterisk.org/4854 )

Change subject: res_rtp_asterisk:  Swap byte-order when sending signed linear
......................................................................

res_rtp_asterisk:  Swap byte-order when sending signed linear

Before Asterisk 13, signed linear was converted into network byte order by a
smoother before being sent over the network. We restore this behavior by adding
a 'smoother_flags' field to ast_codec and changing the 'smooth' field to a
single digit bitfield. We also add a flag that forces the creation of the
smoother.

ASTERISK-24858 #close
Reported-by: Frankie Chin

Change-Id: I868449617d1a7819578f218c8c6b2111ad84f5a9
---
M include/asterisk/codec.h
M include/asterisk/format.h
M include/asterisk/smoother.h
M main/codec_builtin.c
M main/format.c
M res/res_rtp_asterisk.c
6 files changed, 34 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/54/4854/2
-- 
To view, visit https://gerrit.asterisk.org/4854
To unsubscribe, visit https://gerrit.asterisk.org/settings

Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I868449617d1a7819578f218c8c6b2111ad84f5a9
Gerrit-PatchSet: 2
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Owner: Sean Bright <sean.bright at gmail.com>



More information about the asterisk-code-review mailing list